From Roger James, "A small fix for compiling with OSG_USE_FLOAT_MATRIX"

This commit is contained in:
Robert Osfield 2008-01-28 20:31:48 +00:00
parent 5b9a04997d
commit 6e0bbbbc6a

View File

@ -583,7 +583,7 @@ void Camera::Lens::_updateFOV()
}
void Camera::setOffset( const osg::Matrix::value_type matrix[16], double xshear, double yshear )
void Camera::setOffset( const osg::Matrix::value_type matrix[16], const osg::Matrix::value_type xshear, const osg::Matrix::value_type yshear )
{
memcpy( _offset._matrix, matrix, sizeof(osg::Matrix::value_type[16]));
_offset._xshear = xshear;