OSG extensions namespace fixes

openmw-38
scrawl 9 years ago
parent 03a0b1fbfd
commit e39f49a88f

@ -30,7 +30,7 @@ namespace NifOsg
ParticleSystem(); ParticleSystem();
ParticleSystem(const ParticleSystem& copy, const osg::CopyOp& copyop); ParticleSystem(const ParticleSystem& copy, const osg::CopyOp& copyop);
META_Object(NifOsg, NifOsg::ParticleSystem) META_Object(NifOsg, ParticleSystem)
virtual osgParticle::Particle* createParticle(const osgParticle::Particle *ptemplate); virtual osgParticle::Particle* createParticle(const osgParticle::Particle *ptemplate);
@ -194,7 +194,7 @@ namespace NifOsg
Emitter(); Emitter();
Emitter(const Emitter& copy, const osg::CopyOp& copyop); Emitter(const Emitter& copy, const osg::CopyOp& copyop);
META_Object(NifOsg, NifOsg::Emitter) META_Object(NifOsg, Emitter)
virtual void emitParticles(double dt); virtual void emitParticles(double dt);

@ -158,7 +158,7 @@ namespace SceneUtil
, mLastFrameNumber(0) , mLastFrameNumber(0)
{} {}
META_Object(NifOsg, LightListCallback) META_Object(SceneUtil, LightListCallback)
void operator()(osg::Node* node, osg::NodeVisitor* nv); void operator()(osg::Node* node, osg::NodeVisitor* nv);

@ -19,7 +19,7 @@ namespace SceneUtil
RigGeometry(); RigGeometry();
RigGeometry(const RigGeometry& copy, const osg::CopyOp& copyop); RigGeometry(const RigGeometry& copy, const osg::CopyOp& copyop);
META_Object(NifOsg, RigGeometry) META_Object(SceneUtil, RigGeometry)
struct BoneInfluence struct BoneInfluence
{ {

@ -39,7 +39,7 @@ namespace SceneUtil
Skeleton(); Skeleton();
Skeleton(const Skeleton& copy, const osg::CopyOp& copyop); Skeleton(const Skeleton& copy, const osg::CopyOp& copyop);
META_Node(NifOsg, Skeleton) META_Node(SceneUtil, Skeleton)
/// Retrieve a bone by name. /// Retrieve a bone by name.
Bone* getBone(const std::string& name); Bone* getBone(const std::string& name);

Loading…
Cancel
Save