From Konstantin Matveyev, "Added ComputeBoundingBoxCallback, ComputeBoundingSphereCallback and UpdateCallback implmenentations to serializers"

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14801 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2015-03-17 14:50:34 +00:00
parent bf86b031e0
commit 31fd2456b6
4 changed files with 27 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
#undef OBJECT_CAST
#define OBJECT_CAST dynamic_cast
#include <osg/Node>
#include <osgDB/ObjectWrapper>
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
REGISTER_OBJECT_WRAPPER2(ComputeBoundingSphereCallback,
new osg::Node::ComputeBoundingSphereCallback,
osg::Node::ComputeBoundingSphereCallback,
"osg::ComputeBoundingSphereCallback",
"osg::Object osg::ComputeBoundingSphereCallback") {
}
#undef OBJECT_CAST
#define OBJECT_CAST static_cast