1 #include <osg/Shape>
2 #include <osgDB/ObjectWrapper>
3 #include <osgDB/InputStream>
4 #include <osgDB/OutputStream>
5 
6 REGISTER_OBJECT_WRAPPER( Sphere,
7                          new osg::Sphere,
8                          osg::Sphere,
9                          "osg::Object osg::Shape osg::Sphere" )
10 {
11     ADD_VEC3_SERIALIZER( Center, osg::Vec3() );  // _center
12     ADD_FLOAT_SERIALIZER( Radius, 0.0f );  // _radius
13 }
14