Made the handling of types more consistent
This commit is contained in:
@@ -205,7 +205,7 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor, public osg::CullStac
|
||||
}
|
||||
|
||||
/** clamp the projection double matrix to computed near and far values, use callback if it exists, otherwise use default CullVisitro implemntation.*/
|
||||
inline bool clampProjectionMatrix(osg::Matrixd& projection, value_type znear, value_type zfar) const
|
||||
inline bool clampProjectionMatrix(osg::Matrixd& projection, value_type& znear, value_type& zfar) const
|
||||
{
|
||||
double zn = znear;
|
||||
double zf = zfar;
|
||||
|
||||
Reference in New Issue
Block a user