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

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

From Wang Rui, added osgParticle serializers

Line 
1#include <osgParticle/SegmentPlacer>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( osgParticleSegmentPlacer,
7                         new osgParticle::SegmentPlacer,
8                         osgParticle::SegmentPlacer,
9                         "osg::Object osgParticle::Placer osgParticle::SegmentPlacer" )
10{
11    ADD_VEC3_SERIALIZER( VertexA, osg::Vec3() );  // _vertexA
12    ADD_VEC3_SERIALIZER( VertexB, osg::Vec3() );  // _vertexB
13}
Note: See TracBrowser for help on using the browser.