From Wojciech Lewandowski, build fixes for handling Matrix::value_type == float

This commit is contained in:
Robert Osfield
2008-10-06 14:18:27 +00:00
parent df12c7bc68
commit 7e43decf4c
6 changed files with 18 additions and 18 deletions

View File

@@ -356,11 +356,11 @@ void DebugShadowMap::ViewData::cullDebugGeometry( )
_cv->computeNearPlane();
double n = _cv->getCalculatedNearPlane();
double f = _cv->getCalculatedFarPlane();
osgUtil::CullVisitor::value_type n = _cv->getCalculatedNearPlane();
osgUtil::CullVisitor::value_type f = _cv->getCalculatedFarPlane();
if( n < f )
_cv->clampProjectionMatrix(_viewProjection, n, f );
_cv->clampProjectionMatrix( _viewProjection, n, f );
}
}