- Timestamp:
- 03/21/12 18:36:20 (15 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgShadow/MinimalDrawBoundsShadowMap
r12188 r13041 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 2 2 * 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 5 5 * (at your option) any later version. The full license is in LICENSE file 6 6 * included with this distribution, and on the openscenegraph.org website. 7 * 7 * 8 8 * This library is distributed in the hope that it will be useful, 9 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 11 * OpenSceneGraph Public License for more details. 12 12 * … … 24 24 25 25 class OSGSHADOW_EXPORT MinimalDrawBoundsShadowMap 26 : public MinimalShadowMap 26 : public MinimalShadowMap 27 27 { 28 28 public : … … 35 35 MinimalDrawBoundsShadowMap(); 36 36 37 /** Classic OSG cloning constructor */ 37 /** Classic OSG cloning constructor */ 38 38 MinimalDrawBoundsShadowMap( 39 const MinimalDrawBoundsShadowMap& mdbsm, 39 const MinimalDrawBoundsShadowMap& mdbsm, 40 40 const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY); 41 41 … … 60 60 61 61 osg::RefMatrix * getShadowCameraProjectionMatrixPtr( void ) 62 { return _projection.get(); } 62 { return _projection.get(); } 63 63 64 64 virtual void init( ThisClass * st, osgUtil::CullVisitor * cv ); … … 101 101 struct CameraCullCallback: public osg::NodeCallback { 102 102 103 CameraCullCallback(ViewData * vd, osg::NodeCallback * nc): _vd(vd), _nc(nc) 103 CameraCullCallback(ViewData * vd, osg::NodeCallback * nc): _vd(vd), _nc(nc) 104 104 { 105 105 } … … 111 111 if( _nc.valid() ) 112 112 _nc->operator()(node,nv); 113 else 113 else 114 114 traverse(node,nv); 115 115
