From: Alan Alpert Date: Mon, 10 Oct 2011 09:22:24 +0000 (+1000) Subject: Documentation Augmentation X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=6be1e2f0ee364e6ed98def35f5c1fcb7578f3860;p=konrad%2Fqtdeclarative.git Documentation Augmentation The performance implications of adding an affector should be mentioned. Change-Id: I0d508b0dfd16a7e9a56bf5f3c7797d1f4dd6a609 Reviewed-on: http://codereview.qt-project.org/6314 Sanity-Review: Qt Sanity Bot Reviewed-by: Martin Jones --- diff --git a/src/declarative/particles/qsggravity.cpp b/src/declarative/particles/qsggravity.cpp index d775b49..f600726 100644 --- a/src/declarative/particles/qsggravity.cpp +++ b/src/declarative/particles/qsggravity.cpp @@ -50,7 +50,8 @@ const qreal CONV = 0.017453292520444443; \brief The Gravity element allows you to set a constant accleration in an angle This element will set the acceleration of all affected particles to a vector of - the specified magnitude in the specified angle. + the specified magnitude in the specified angle. If the angle or acceleration is + not varying, it is more efficient to set the specified acceleration on the Emitter. This element models the gravity of a massive object whose center of gravity is far away (and thus the gravitational pull is effectively constant