Removed StateSet::ENCLOSE_RENDERBIN_DETAILS since it is rendendent, and
implemented the OVERRIDE_RENDERBIN_DETAILS.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user