-
Notifications
You must be signed in to change notification settings - Fork 2
/
particle.h
41 lines (31 loc) · 969 Bytes
/
particle.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef PARTICLE_H_
#define PARTICLE_H_
#include <osgParticle/ParticleSystem>
#include <osgParticle/Particle>
#include <osgParticle/ModularEmitter>
#include <osgParticle/ModularProgram>
#include <osg/MatrixTransform>
#include "macro.h"
namespace amussementpark {
class FireWorkParticle: public osgParticle::Particle {
public:
FireWorkParticle(osg::Vec4 startingColor);
};
class FireWorkEmitter: public osgParticle::ModularEmitter {
public:
FireWorkEmitter(DOUBLE startTime);
};
class FireWorkProgram: public osgParticle::ModularProgram {
public:
FireWorkProgram(DOUBLE x, DOUBLE y, DOUBLE z);
};
class FireWorks: public osgParticle::ParticleSystem {
public:
FireWorks(FireWorkEmitter *emitter, FireWorkProgram *prog, osg::Vec4 color);
};
class FireWorkInstance: public osg::MatrixTransform {
public:
FireWorkInstance(osg::Group *partent, DOUBLE x, DOUBLE y, DOUBLE z, osg::Vec4 fireWorkColor, DOUBLE startTime);
};
}
#endif