root/OpenSceneGraph/trunk/src/osgWrappers/serializers/osgParticle/ForceOperator.cpp @ 11020

Revision 11020, 441 bytes (checked in by robert, 4 years ago)

From Wang Rui, added osgParticle serializers

Line 
1#include <osgParticle/ForceOperator>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( osgParticleForceOperator,
7                         new osgParticle::ForceOperator,
8                         osgParticle::ForceOperator,
9                         "osg::Object osgParticle::Operator osgParticle::ForceOperator" )
10{
11    ADD_VEC3_SERIALIZER( Force, osg::Vec3() );  // _force
12}
Note: See TracBrowser for help on using the browser.