Ported distribution across to use the new osg::MatrixTransform and osg::BlendFunc

class instead of osg::Transform and osg::Transparancy respectively.
This commit is contained in:
Robert Osfield
2002-07-12 18:12:01 +00:00
parent 8128265e09
commit 6f392cdbfa
32 changed files with 93 additions and 97 deletions

View File

@@ -115,7 +115,7 @@ class SG_EXPORT Transform : public Group
}
else // absolute
{
matrix.makeIdent();
matrix.makeIdentity();
return true;
}
}
@@ -128,13 +128,11 @@ class SG_EXPORT Transform : public Group
}
else // absolute
{
matrix.makeIdent();
matrix.makeIdentity();
return true;
}
}
virtual const bool computeLocalToWorldMatrix(Matrix& matrix,NodeVisitor*) const { return false; }
#else
/** Set the transform's matrix.*/