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