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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user