diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-05-18 21:10:00 +1000 |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2011-05-18 21:10:00 +1000 |
commit | b8338a188160651fec238edb4d7fd59417eefe6d (patch) | |
tree | 1a1fe76f449f5240a62d6c00c4ebf8a4616515b7 /src/imports/particles/main.cpp | |
parent | ab858bc8e650f1120495f968379f37257c774b5f (diff) |
Add UltraParticle
They're not as cool as they sound. Includes example, and the now
pointless SuperParticle (for possible performance comparisions).
Diffstat (limited to 'src/imports/particles/main.cpp')
-rw-r--r-- | src/imports/particles/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/imports/particles/main.cpp b/src/imports/particles/main.cpp index b2d5c27306..9382f48f66 100644 --- a/src/imports/particles/main.cpp +++ b/src/imports/particles/main.cpp @@ -70,6 +70,8 @@ #include "coloredparticle.h" #include "spriteparticle.h" #include "modelparticle.h" +#include "superparticle.h" +#include "ultraparticle.h" //#include "pairedparticle.h" #include "spriteimage.h" #include "followemitter.h" @@ -108,6 +110,8 @@ void ParticlesPlugin::registerTypes(const char *uri) qmlRegisterType<ModelParticle>(uri, 2, 0, "ModelParticle"); //qmlRegisterType<PairedParticle>(uri, 2, 0, "PairedParticle"); qmlRegisterType<DeformableParticle>(uri, 2, 0, "DeformableParticle"); + qmlRegisterType<SuperParticle>(uri, 2, 0, "SuperParticle"); + qmlRegisterType<UltraParticle>(uri, 2, 0, "UltraParticle"); qmlRegisterType<ParticleEmitter>(uri, 2, 0, "ParticleEmitter"); qmlRegisterType<TrailsEmitter>(uri, 2, 0, "TrailEmitter"); |