Made the handling of types more consistent

This commit is contained in:
Robert Osfield
2004-07-26 19:40:02 +00:00
parent f6274d0f20
commit 8837d667f0
3 changed files with 4 additions and 10 deletions

View File

@@ -211,13 +211,7 @@ void CullVisitor::popProjectionMatrix()
// so it doesn't cull them out.
osg::Matrix& projection = *_projectionStack.back();
double znear = _computed_znear;
double zfar = _computed_zfar;
clampProjectionMatrix(projection, znear, zfar);
_computed_znear = znear;
_computed_zfar = zfar;
clampProjectionMatrix(projection, _computed_znear, _computed_zfar);
}
else
{