Converted the instance of osgNew and osgDelete back to new and delete as part
of depecating the include/osg/MemoryManager
This commit is contained in:
@@ -4,18 +4,18 @@ using namespace osg;
|
||||
|
||||
Projection::Projection()
|
||||
{
|
||||
_matrix = osgNew Matrix;
|
||||
_matrix = new Matrix;
|
||||
}
|
||||
|
||||
Projection::Projection(const Projection& projection,const CopyOp& copyop):
|
||||
Group(projection,copyop),
|
||||
_matrix(osgNew Matrix(*projection._matrix))
|
||||
_matrix(new Matrix(*projection._matrix))
|
||||
{
|
||||
}
|
||||
|
||||
Projection::Projection(const Matrix& mat )
|
||||
{
|
||||
_matrix = osgNew Matrix(mat);
|
||||
_matrix = new Matrix(mat);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user