Fixes for compilation under IRIX, submitted by Randal Hopper, with mods

from Robert.
This commit is contained in:
Robert Osfield
2001-10-15 15:50:55 +00:00
parent 5de4e8e6d8
commit de924ca759
10 changed files with 18 additions and 15 deletions

View File

@@ -2,9 +2,7 @@
#include <osg/Quat>
#include <osg/Notify>
#include <osg/Types>
#include <cstdlib> //memcpy
#include <cmath> //acos
#include <osg/Math>
#include <stdlib.h>
@@ -52,10 +50,10 @@ Matrix::Matrix() : Object(), fully_realized(false) {}
Matrix::Matrix( const Matrix& other ) : Object()
{
set( (float const * const) other._mat );
set( (const float *) other._mat );
}
Matrix::Matrix( float const * const def )
Matrix::Matrix( const float * def )
{
set( def );
}