root/OpenSceneGraph/trunk/src/osgWrappers/serializers/osg/LightModel.cpp @ 13041

Revision 13041, 0.7 kB (checked in by robert, 3 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
Line 
1#include <osg/LightModel>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( LightModel,
7                         new osg::LightModel,
8                         osg::LightModel,
9                         "osg::Object osg::StateAttribute osg::LightModel" )
10{
11    ADD_VEC4_SERIALIZER( AmbientIntensity, osg::Vec4() );  // _ambient
12
13    BEGIN_ENUM_SERIALIZER( ColorControl, SINGLE_COLOR );
14        ADD_ENUM_VALUE( SEPARATE_SPECULAR_COLOR );
15        ADD_ENUM_VALUE( SINGLE_COLOR );
16    END_ENUM_SERIALIZER();  // _colorControl
17
18    ADD_BOOL_SERIALIZER( LocalViewer, false );  // _localViewer
19    ADD_BOOL_SERIALIZER( TwoSided, false );  // _twoSided
20}
Note: See TracBrowser for help on using the browser.