From Wang Rui, new native binary/ascii format infrastructure and wrappers.
From Robert Osfield, refactor of Wang Rui's original osg2 into 3 parts - parts placed into osgDB, the ReaderWriter placed into src/osg/Plugin/osg and wrappers into src/osgWrappers/serializers/osg
This commit is contained in:
16
src/osgWrappers/serializers/osg/Transform.cpp
Executable file
16
src/osgWrappers/serializers/osg/Transform.cpp
Executable file
@@ -0,0 +1,16 @@
|
||||
#include <osg/Transform>
|
||||
#include <osgDB/ObjectWrapper>
|
||||
#include <osgDB/InputStream>
|
||||
#include <osgDB/OutputStream>
|
||||
|
||||
REGISTER_OBJECT_WRAPPER( Transform,
|
||||
new osg::Transform,
|
||||
osg::Transform,
|
||||
"osg::Object osg::Node osg::Group osg::Transform" )
|
||||
{
|
||||
BEGIN_ENUM_SERIALIZER( ReferenceFrame, RELATIVE_RF );
|
||||
ADD_ENUM_VALUE( RELATIVE_RF );
|
||||
ADD_ENUM_VALUE( ABSOLUTE_RF );
|
||||
ADD_ENUM_VALUE( ABSOLUTE_RF_INHERIT_VIEWPOINT );
|
||||
END_ENUM_SERIALIZER(); // _referenceFrame
|
||||
}
|
||||
Reference in New Issue
Block a user