Refactor QSGParticleAffector internals
authorAlan Alpert <alan.alpert@nokia.com>
Tue, 20 Sep 2011 00:46:34 +0000 (10:46 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 20 Sep 2011 05:22:35 +0000 (07:22 +0200)
commit4588034490d53759a9b6cf2e225113b4035e9dfa
tree4ea5f3bf61fa64429d818cddbfac02f770cee861
parent014fd8c01f305f05eafcee5a7789d6bf74048974
Refactor QSGParticleAffector internals

Putting more of the logic in protected subroutines makes it a lot easier
for subclasses to reimplement affectSystem.

Change-Id: I07f6553228064f1c9b68c6f55628b12b5c78013b
Reviewed-on: http://codereview.qt-project.org/5172
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/particles/qsgparticleaffector.cpp
src/declarative/particles/qsgparticleaffector_p.h
src/declarative/particles/qsgturbulence.cpp