Add some more properties to JS particle type
authorAlan Alpert <alan.alpert@nokia.com>
Fri, 22 Jul 2011 07:45:59 +0000 (17:45 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 28 Jul 2011 09:27:26 +0000 (11:27 +0200)
commite57189d3bbac058a3ddea567a6e487be65cdde5a
treef3019565789a11704b6644f3c7ab912fe9343efe
parent0511dfc0b8851baf84df73780e770f1025261068
Add some more properties to JS particle type

Adds the current position, velocity and acceleration.

While we're at it, renaming the velocity vars from sx,sy to vx,vy

Change-Id: I87f582169c7873c45a6fd453052b25c4dc940f3e
Reviewed-on: http://codereview.qt.nokia.com/2021
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
15 files changed:
examples/declarative/particles/custom/fallingleaves.qml
src/declarative/particles/qsgcustomemitter.cpp
src/declarative/particles/qsgcustomparticle.cpp
src/declarative/particles/qsgemitter.cpp
src/declarative/particles/qsgfollowemitter.cpp
src/declarative/particles/qsgfriction.cpp
src/declarative/particles/qsgimageparticle.cpp
src/declarative/particles/qsgimageparticle_p.h
src/declarative/particles/qsgparticlesystem.cpp
src/declarative/particles/qsgparticlesystem_p.h
src/declarative/particles/qsgpointattractor.cpp
src/declarative/particles/qsgtargetaffector.cpp
src/declarative/particles/qsgturbulence.cpp
src/declarative/particles/qsgv8particledata.cpp
src/declarative/particles/qsgwander.cpp