root/OpenSceneGraph/trunk/src/osgWrappers/serializers/osgParticle/SinkOperator.cpp @ 13041

Revision 13041, 0.8 kB (checked in by robert, 2 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
Line 
1#include <osgParticle/SinkOperator>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( osgParticleSinkOperator,
7                         new osgParticle::SinkOperator,
8                         osgParticle::SinkOperator,
9                         "osg::Object osgParticle::Operator osgParticle::DomainOperator osgParticle::SinkOperator" )
10{
11    BEGIN_ENUM_SERIALIZER( SinkTarget, SINK_POSITION );
12        ADD_ENUM_VALUE( SINK_POSITION );
13        ADD_ENUM_VALUE( SINK_VELOCITY );
14        ADD_ENUM_VALUE( SINK_ANGULAR_VELOCITY );
15    END_ENUM_SERIALIZER();  // _sinkTarget
16
17    BEGIN_ENUM_SERIALIZER( SinkStrategy, SINK_INSIDE );
18        ADD_ENUM_VALUE( SINK_INSIDE );
19        ADD_ENUM_VALUE( SINK_OUTSIDE );
20    END_ENUM_SERIALIZER();  // _sinkStrategy
21}
Note: See TracBrowser for help on using the browser.