diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-05-18 00:00:11 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-05-18 00:00:11 +0800 |
commit | 473470054a4f67c67fb3f40a0438e87aff68703c (patch) | |
tree | f1e4644325cbb8eba4a1050ff5b69e31a0b6bb11 /visualization/qmpvisualization.hpp | |
parent | 9b1dee8a2bed82df98d68001b9458f29a780c71e (diff) | |
download | QMidiPlayer-473470054a4f67c67fb3f40a0438e87aff68703c.tar.xz |
Fix bugs in the particle system.
Add particle look at option.
Diffstat (limited to 'visualization/qmpvisualization.hpp')
-rw-r--r-- | visualization/qmpvisualization.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/visualization/qmpvisualization.hpp b/visualization/qmpvisualization.hpp index 3305f4f..6c1e578 100644 --- a/visualization/qmpvisualization.hpp +++ b/visualization/qmpvisualization.hpp @@ -47,11 +47,13 @@ class qmpVisualization:public qmpPluginIntf smHandler *h,*closeh; std::stack<uint32_t> pendingt[16][128],pendingv[16][128]; SMELT *sm; - SMTRG tdscn; - SMTEX chequer,bgtex; + SMTRG tdscn,tdparticles; + SMTEX chequer,bgtex,particletex; smTTFont font,font2,fonthdpi; qmpVirtualPiano3D* p3d[16]; smEntity3DBuffer* nebuf; + smParticleSystem* test; + smPSEmissionPositionGenerator* psepg; float pos[3],rot[3],lastx,lasty; uint32_t ctc,ctk,fintk,elb; double etps; |