Added new Node/Drawable::s/getInitialBound and Node/Drawable::s/getComputeBoundCallback
methods and reimplement computeBound so that it passes back a bounding volume rather than modifying the local one.
This commit is contained in:
@@ -135,16 +135,17 @@ class OSG_EXPORT Transform : public Group
|
||||
}
|
||||
}
|
||||
|
||||
protected :
|
||||
|
||||
virtual ~Transform();
|
||||
|
||||
/** Overrides Group's computeBound.
|
||||
* There is no need to override in subclasses from osg::Transform
|
||||
* since this computeBound() uses the underlying matrix (calling
|
||||
* computeMatrix if required).
|
||||
*/
|
||||
virtual bool computeBound() const;
|
||||
virtual BoundingSphere computeBound() const;
|
||||
|
||||
protected :
|
||||
|
||||
virtual ~Transform();
|
||||
|
||||
|
||||
ReferenceFrame _referenceFrame;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user