diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-08-23 18:20:58 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-24 10:11:29 +0200 |
commit | 017265b9383cbd616aaa2f5fee17dae8e28a161b (patch) | |
tree | 49e45cd13a00f0ccf2c3641b1256dd3d2904842b /src/declarative/particles/qsgpointattractor_p.h | |
parent | e6c0633a9c386817017a97dac9e541a45f42fd7f (diff) |
Switch from textures to uniform arrays for size/opacity tables
Change-Id: Iafc5eaa80f68345cc3b14fe0b2d997c1af435419
Reviewed-on: http://codereview.qt.nokia.com/3388
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'src/declarative/particles/qsgpointattractor_p.h')
-rw-r--r-- | src/declarative/particles/qsgpointattractor_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/particles/qsgpointattractor_p.h b/src/declarative/particles/qsgpointattractor_p.h index 932a3081d6..95716483ed 100644 --- a/src/declarative/particles/qsgpointattractor_p.h +++ b/src/declarative/particles/qsgpointattractor_p.h @@ -55,7 +55,7 @@ class QSGPointAttractorAffector : public QSGParticleAffector //Like Gravitational singularity, but linear to distance instead of quadratic //And affects ds/dt, not da/dt Q_PROPERTY(qreal strength READ strength WRITE setStrength NOTIFY strengthChanged) - Q_PROPERTY(qreal x READ x WRITE setX NOTIFY xChanged) + Q_PROPERTY(qreal x READ x WRITE setX NOTIFY xChanged)//TODO: Change to pointX, pointY Q_PROPERTY(qreal y READ y WRITE setY NOTIFY yChanged) Q_PROPERTY(PhysicsAffects physics READ physics WRITE setPhysics NOTIFY physicsChanged) Q_PROPERTY(Proportion proportionalToDistance READ proportionalToDistance WRITE setProportionalToDistance NOTIFY proportionalToDistanceChanged) |