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:
@@ -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
|
||||
Reference in New Issue
Block a user