Added protected destructors.
This commit is contained in:
parent
280f50b3d9
commit
d0ec2ea08f
@ -43,6 +43,8 @@ namespace osgParticle
|
||||
|
||||
protected:
|
||||
|
||||
virtual ~ExplosionDebrisEffect() {}
|
||||
|
||||
osg::ref_ptr<ModularEmitter> _emitter;
|
||||
osg::ref_ptr<FluidProgram> _program;
|
||||
|
||||
|
@ -43,6 +43,8 @@ namespace osgParticle
|
||||
|
||||
protected:
|
||||
|
||||
virtual ~ExplosionEffect() {}
|
||||
|
||||
osg::ref_ptr<ModularEmitter> _emitter;
|
||||
osg::ref_ptr<FluidProgram> _program;
|
||||
|
||||
|
@ -42,6 +42,8 @@ namespace osgParticle
|
||||
virtual const Program* getProgram() const { return _program.get(); }
|
||||
|
||||
protected:
|
||||
|
||||
virtual ~FireEffect() {}
|
||||
|
||||
osg::ref_ptr<ModularEmitter> _emitter;
|
||||
osg::ref_ptr<FluidProgram> _program;
|
||||
|
@ -92,6 +92,8 @@ namespace osgParticle
|
||||
|
||||
protected:
|
||||
|
||||
virtual ~ParticleEffect() {}
|
||||
|
||||
osg::ref_ptr<ParticleSystem> _particleSystem;
|
||||
|
||||
bool _useLocalParticleSystem;
|
||||
|
@ -43,6 +43,8 @@ namespace osgParticle
|
||||
|
||||
protected:
|
||||
|
||||
virtual ~SmokeEffect() {}
|
||||
|
||||
osg::ref_ptr<ModularEmitter> _emitter;
|
||||
osg::ref_ptr<FluidProgram> _program;
|
||||
|
||||
|
@ -43,6 +43,8 @@ namespace osgParticle
|
||||
|
||||
protected:
|
||||
|
||||
virtual ~SmokeTrailEffect() {}
|
||||
|
||||
osg::ref_ptr<ModularEmitter> _emitter;
|
||||
osg::ref_ptr<FluidProgram> _program;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user