From 5df94d89033e7bbb3f41840a4c07a628ed66b4d5 Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Mon, 25 Jun 2012 12:01:46 +1000 Subject: 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 --- src/particles/qquickwander.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/particles/qquickwander.cpp') 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)) { -- cgit v1.2.3