Fix for renaming of ShadowOccluderVolume to ShadowVolumeOccluder.

This commit is contained in:
Robert Osfield
2002-06-12 13:54:14 +00:00
parent c7e99ff77a
commit e467027946
4 changed files with 17 additions and 7 deletions

View File

@@ -6,7 +6,7 @@
#define OSG_CullingSet 1
#include <osg/Polytope>
#include <osg/ShadowOccluderVolume>
#include <osg/ShadowVolumeOccluder>
#include <osg/Referenced>
namespace osg {

View File

@@ -27,13 +27,13 @@ class SG_EXPORT ShadowVolumeOccluder
_occluderVolume(soc._occluderVolume),
_holeList(soc._holeList) {}
ShadowVolumeOccluder(const NodePath& nodePath,const ConvexPlanerOccluder& occluder,const Matrix& MVP)
ShadowVolumeOccluder(const NodePath& nodePath,const ConvexPlanerOccluder& occluder,const Matrix& MV,const Matrix& P)
{
computeOccluder(nodePath,occluder,MVP);
computeOccluder(nodePath,occluder,MV,P);
}
/** compute the shadow volume occluder. */
void computeOccluder(const NodePath& nodePath,const ConvexPlanerOccluder& occluder,const Matrix& MVP);
void computeOccluder(const NodePath& nodePath,const ConvexPlanerOccluder& occluder,const Matrix& MV,const Matrix& P);
inline void disableResultMasks();