Added double's as parameters to _clampProjectionMatrix() template function to

cure compile problems
This commit is contained in:
Robert Osfield
2004-01-29 10:44:08 +00:00
parent 362cc3ccc3
commit 7a94ab3903

View File

@@ -187,7 +187,7 @@ void CullVisitor::popProjectionMatrix()
}
template<class matrix_type, class value_type>
bool _clampProjectionMatrix(matrix_type& projection, value_type& znear, value_type& zfar, value_type nearFarRatio)
bool _clampProjectionMatrix(matrix_type& projection, double& znear, double& zfar, value_type nearFarRatio)
{
if (zfar>0.0f)
{