|
Revision 11020, 505 bytes
(checked in by robert, 3 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 | |
|---|
| 6 | REGISTER_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() ); |
|---|
| 12 | ADD_VEC3_SERIALIZER( VertexB, osg::Vec3() ); |
|---|
| 13 | } |
|---|