Renamed the ConvexPlaner* classes to ConvexPlanar* and changed all the various

classes that reference it.

Added MUST_READ_ME.txt to the VisualStudio directory.
This commit is contained in:
Robert Osfield
2002-08-29 11:02:01 +00:00
parent 4e45c82067
commit 79aaac4e0c
19 changed files with 107 additions and 89 deletions

View File

@@ -0,0 +1,3 @@
#include <osg/ConvexPlanarOccluder>
using namespace osg;

View File

@@ -0,0 +1,7 @@
#include <osg/ConvexPlanarPolygon>
using namespace osg;
ConvexPlanarPolygon::ConvexPlanarPolygon()
{
}

View File

@@ -1,3 +0,0 @@
#include <osg/ConvexPlanerOccluder>
using namespace osg;

View File

@@ -1,7 +0,0 @@
#include <osg/ConvexPlanerPolygon>
using namespace osg;
ConvexPlanerPolygon::ConvexPlanerPolygon()
{
}

View File

@@ -15,8 +15,8 @@ CXXFILES =\
ColorMask.cpp\
ColorMatrix.cpp\
CollectOccludersVisitor.cpp\
ConvexPlanerPolygon.cpp\
ConvexPlanerOccluder.cpp\
ConvexPlanarPolygon.cpp\
ConvexPlanarOccluder.cpp\
CopyOp.cpp\
CullFace.cpp\
CullingSet.cpp\

View File

@@ -8,7 +8,7 @@ OccluderNode::OccluderNode()
OccluderNode::OccluderNode(const OccluderNode& node,const CopyOp& copyop):
Group(node,copyop),
_occluder(dynamic_cast<ConvexPlanerOccluder*>(copyop(node._occluder.get())))
_occluder(dynamic_cast<ConvexPlanarOccluder*>(copyop(node._occluder.get())))
{
}
@@ -19,8 +19,8 @@ const bool OccluderNode::computeBound() const
if (getOccluder())
{
BoundingBox bb;
const ConvexPlanerPolygon::VertexList& vertexList = getOccluder()->getOccluder().getVertexList();
for(ConvexPlanerPolygon::VertexList::const_iterator itr=vertexList.begin();
const ConvexPlanarPolygon::VertexList& vertexList = getOccluder()->getOccluder().getVertexList();
for(ConvexPlanarPolygon::VertexList::const_iterator itr=vertexList.begin();
itr!=vertexList.end();
++itr)
{

View File

@@ -162,7 +162,7 @@ float computePolytopeVolume(const PointList& front, const PointList& back)
return volume;
}
bool ShadowVolumeOccluder::computeOccluder(const NodePath& nodePath,const ConvexPlanerOccluder& occluder,CullStack& cullStack,bool /*createDrawables*/)
bool ShadowVolumeOccluder::computeOccluder(const NodePath& nodePath,const ConvexPlanarOccluder& occluder,CullStack& cullStack,bool /*createDrawables*/)
{
@@ -239,7 +239,7 @@ bool ShadowVolumeOccluder::computeOccluder(const NodePath& nodePath,const Convex
_volume = computePolytopeVolume(points,farPoints)/volumeview;
for(ConvexPlanerOccluder::HoleList::const_iterator hitr=occluder.getHoleList().begin();
for(ConvexPlanarOccluder::HoleList::const_iterator hitr=occluder.getHoleList().begin();
hitr!=occluder.getHoleList().end();
++hitr)
{