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

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

From Wang Rui, added osgParticle serializers

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