Addd libraryName() method to osg::Object in preperation for the osgDB support
for node kits plugins.
This commit is contained in:
@@ -26,6 +26,7 @@ namespace osgParticle
|
||||
Interpolator(const Interpolator ©, const osg::CopyOp ©op = osg::CopyOp::SHALLOW_COPY)
|
||||
: osg::Object(copy, copyop) {}
|
||||
|
||||
virtual const char *libraryName() const { return "osgParticle"; }
|
||||
virtual const char *className() const { return "Interpolator"; }
|
||||
virtual bool isSameKindAs(const osg::Object *obj) const { return dynamic_cast<const Interpolator *>(obj) != 0; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user