Added double's as parameters to _clampProjectionMatrix() template function to
cure compile problems
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user