Added protected destructors.

This commit is contained in:
Robert Osfield 2005-10-25 09:49:53 +00:00
parent 280f50b3d9
commit d0ec2ea08f
6 changed files with 12 additions and 0 deletions

View File

@ -43,6 +43,8 @@ namespace osgParticle
protected:
virtual ~ExplosionDebrisEffect() {}
osg::ref_ptr<ModularEmitter> _emitter;
osg::ref_ptr<FluidProgram> _program;

View File

@ -43,6 +43,8 @@ namespace osgParticle
protected:
virtual ~ExplosionEffect() {}
osg::ref_ptr<ModularEmitter> _emitter;
osg::ref_ptr<FluidProgram> _program;

View File

@ -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;

View File

@ -92,6 +92,8 @@ namespace osgParticle
protected:
virtual ~ParticleEffect() {}
osg::ref_ptr<ParticleSystem> _particleSystem;
bool _useLocalParticleSystem;

View File

@ -43,6 +43,8 @@ namespace osgParticle
protected:
virtual ~SmokeEffect() {}
osg::ref_ptr<ModularEmitter> _emitter;
osg::ref_ptr<FluidProgram> _program;

View File

@ -43,6 +43,8 @@ namespace osgParticle
protected:
virtual ~SmokeTrailEffect() {}
osg::ref_ptr<ModularEmitter> _emitter;
osg::ref_ptr<FluidProgram> _program;