Added support for serailizing and scripting BoundingBox and BoundingSphere objects

This commit is contained in:
Robert Osfield
2014-02-10 16:44:13 +00:00
parent 3dcca431a9
commit 31e98b51df
15 changed files with 405 additions and 53 deletions

View File

@@ -42,7 +42,7 @@ Widget::Widget(const Widget& widget, const osg::CopyOp& copyop):
setNumChildrenRequiringEventTraversal(1);
}
void Widget::setExtents(const osg::BoundingBox& bb)
void Widget::setExtents(const osg::BoundingBoxf& bb)
{
_extents = bb;
}