Changeset 11176 for OpenSceneGraph/trunk/src/osgShadow/MinimalShadowMap.cpp
- Timestamp:
- 03/05/10 17:17:12 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgShadow/MinimalShadowMap.cpp
r11136 r11176 115 115 } 116 116 117 void MinimalShadowMap::ViewData::aimShadowCastingCamera( 118 const osg::BoundingSphere &bs, 119 const osg::Light *light, 120 const osg::Vec4 &lightPos, 121 const osg::Vec3 &lightDir, 122 const osg::Vec3 &lightUpVector 123 /* by default = osg::Vec3( 0, 1 0 )*/ ) 124 { 125 BaseClass::ViewData::aimShadowCastingCamera( bs, light, lightPos, lightDir, lightUpVector ); 126 } 127 117 128 void MinimalShadowMap::ViewData::aimShadowCastingCamera 118 129 ( const osg::Light *light, const osg::Vec4 &lightPos, … … 149 160 } 150 161 151 BaseClass::ViewData::aimShadowCastingCamera 152 ( bb, light, lightPos, lightDir, up ); 162 aimShadowCastingCamera( osg::BoundingSphere( bb ), light, lightPos, lightDir, up ); 153 163 154 164 // Intersect scene Receiving Shadow Polytope with shadow camera frustum
