Removed StateSet::ENCLOSE_RENDERBIN_DETAILS since it is rendendent, and

implemented the OVERRIDE_RENDERBIN_DETAILS.
This commit is contained in:
Robert Osfield
2006-07-11 21:53:57 +00:00
parent 165351196e
commit dd6a33da49
6 changed files with 24 additions and 10 deletions

View File

@@ -95,7 +95,8 @@ CullVisitor::CullVisitor():
_currentRenderBin(NULL),
_computed_znear(FLT_MAX),
_computed_zfar(-FLT_MAX),
_currentReuseRenderLeafIndex(0)
_currentReuseRenderLeafIndex(0),
_numberOfEncloseOverrideRenderBinDetails(0)
{
// _nearFarRatio = 0.000005f;
}
@@ -116,6 +117,8 @@ void CullVisitor::reset()
CullStack::reset();
_numberOfEncloseOverrideRenderBinDetails = 0;
// reset the calculated near far planes.
_computed_znear = FLT_MAX;
_computed_zfar = -FLT_MAX;