Fixed the bounding sphere computation and handling of Drawable as the root of the scene graph
This commit is contained in:
@@ -157,6 +157,8 @@ class OSG_EXPORT Drawable : public Node
|
||||
|
||||
_boundingSphereComputed = true;
|
||||
}
|
||||
_boundingSphere.set(_boundingBox.center(), _boundingBox.radius());
|
||||
|
||||
return _boundingBox;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user