root/OpenSceneGraph/trunk/src/osgWrappers/serializers/osgVolume/ScalarProperty.cpp @ 13041

Revision 13041, 0.5 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 <osgVolume/Property>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( osgVolume_ScalarProperty,
7                         new osgVolume::ScalarProperty("unknown", 0.0f),
8                         osgVolume::ScalarProperty,
9                         "osg::Object osgVolume::Property osgVolume::ScalarProperty" )
10{
11    // FIXME: don't set constructor directly, try implementing a setName() method?
12
13    ADD_FLOAT_SERIALIZER( Value, 1.0f );
14}
Note: See TracBrowser for help on using the browser.