Files
OpenSceneGraph/src/osgWrappers/serializers/osgManipulator/AntiSquish.cpp
Robert Osfield 0adf26ec6e From Wang Rui, "The osgManipulator serializers are ready now. I need to modify the
META_OSGMANIPULATOR_Object macro to ensure these classes could work
with their wrappers, and a few naming styles should be changed as
well. Fortunately everything seems to compile fine under Windows and
my new Ubuntu system.

And I finally find the problem of the
serializers/osgTerrain/Terrain.cpp, it just missed an "osg::Group"
before "osg::CoordinateSystemNode" indicator. With the small fix
attached now VPB could generate terrain with osgt/osgb formats."
2010-04-28 20:16:44 +00:00

14 lines
545 B
C++

#include <osgManipulator/AntiSquish>
#include <osgDB/ObjectWrapper>
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
REGISTER_OBJECT_WRAPPER( osgManipulator_AntiSquish,
new osgManipulator::AntiSquish,
osgManipulator::AntiSquish,
"osg::Object osg::Node osg::Group osg::Transform osg::MatrixTransform osgManipulator::AntiSquish" )
{
ADD_VEC3D_SERIALIZER( Pivot, osg::Vec3d() ); // _pivot
ADD_VEC3D_SERIALIZER( Position, osg::Vec3d() ); // _position
}