root/OpenSceneGraph/trunk/src/osgWrappers/serializers/osgShadow/MinimalShadowMap.cpp @ 13041

Revision 13041, 1.0 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 <osgShadow/MinimalShadowMap>
2#include <osgDB/ObjectWrapper>
3#include <osgDB/InputStream>
4#include <osgDB/OutputStream>
5
6REGISTER_OBJECT_WRAPPER( osgShadow_MinimalShadowMap,
7                         new osgShadow::MinimalShadowMap,
8                         osgShadow::MinimalShadowMap,
9                         "osg::Object osgShadow::ShadowTechnique osgShadow::ViewDependentShadowTechnique "
10                         "osgShadow::DebugShadowMap osgShadow::StandardShadowMap osgShadow::MinimalShadowMap" )
11{
12    ADD_MATRIX_SERIALIZER( ModellingSpaceToWorldTransform, osg::Matrix() );  // _modellingSpaceToWorld
13    ADD_FLOAT_SERIALIZER( MaxFarPlane, FLT_MAX );  // _maxFarPlane
14    ADD_FLOAT_SERIALIZER( MinLightMargin, 0.0f );  // _minLightMargin
15
16    BEGIN_ENUM_SERIALIZER( ShadowReceivingCoarseBoundAccuracy, BOUNDING_BOX );
17        ADD_ENUM_VALUE( EMPTY_BOX );
18        ADD_ENUM_VALUE( BOUNDING_SPHERE );
19        ADD_ENUM_VALUE( BOUNDING_BOX );
20    END_ENUM_SERIALIZER();  // _shadowReceivingCoarseBoundAccuracy
21}
Note: See TracBrowser for help on using the browser.