Additions for the support for ConvexPlaneOccluder. Work still underway.

This commit is contained in:
Robert Osfield
2002-06-03 15:39:41 +00:00
parent 518dd5710a
commit 3f84849210
19 changed files with 328 additions and 246 deletions

View File

@@ -599,9 +599,9 @@ const StateAttribute* State::getLastAppliedAttribute(const StateAttribute::Type
}
ClippingVolume State::getClippingVolume() const
Polytope State::getViewFrustum() const
{
ClippingVolume cv;
Polytope cv;
cv.setToUnitFrustum();
cv.transformProvidingInverse((*_modelView)*(*_projection));
return cv;