Added support for DYNAMIC/STATIC osg::Transform types and added new osg::Drawable::getStats

and supportsAttributeUpdate(..) and applyAttributeUpdate(...) methods which will
be to enable hooks into Drawable subclasses.
This commit is contained in:
Robert Osfield
2001-10-10 20:20:14 +00:00
parent 3c5b9c813d
commit 96085619ee
4 changed files with 110 additions and 37 deletions

View File

@@ -4,6 +4,7 @@ using namespace osg;
Transform::Transform()
{
_type = DYNAMIC;
_matrix = new osg::Matrix();
_matrix->makeIdent();
}
@@ -11,6 +12,7 @@ Transform::Transform()
Transform::Transform(const Matrix& mat )
{
_type = DYNAMIC;
(*_matrix) = mat;
}