aboutsummaryrefslogtreecommitdiffstats
path: root/src/particles/qquickwander.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-06-25 12:01:46 +1000
committerQt by Nokia <qt-info@nokia.com>2012-06-29 02:21:36 +0200
commit5df94d89033e7bbb3f41840a4c07a628ed66b4d5 (patch)
treee42bcd16d8f5f3a192c48794b610ffeb05b9dc02 /src/particles/qquickwander.cpp
parent2241d6fa2d39fe890ba0d17ff58b5e0615c1cd7b (diff)
Rename speed -> velocity in the particle system
Matches the convention set in the QtQuick module, for example by ListView and Flickable. Change-Id: I8df57ed1ced8128723d790c30c00cc1b2062787d Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'src/particles/qquickwander.cpp')
-rw-r--r--src/particles/qquickwander.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particles/qquickwander.cpp b/src/particles/qquickwander.cpp
index 9def03adce..a7e6c8db04 100644
--- a/src/particles/qquickwander.cpp
+++ b/src/particles/qquickwander.cpp
@@ -120,7 +120,7 @@ WanderData* QQuickWanderAffector::getData(int idx)
bool QQuickWanderAffector::affectParticle(QQuickParticleData* data, qreal dt)
{
- /*TODO: Add a mode which does basically this - picking a direction, going in it (random speed) and then going back
+ /*TODO: Add a mode which does basically this - picking a direction, going in it (random velocity) and then going back
WanderData* d = getData(data->systemIndex);
if (m_xVariance != 0.) {
if ((d->x_vel > d->x_peak && d->x_var > 0.0) || (d->x_vel < -d->x_peak && d->x_var < 0.0)) {