Add non-const function for STK usage
This commit is contained in:
parent
a2bb0487b1
commit
fe371a28b5
@ -172,7 +172,6 @@ namespace scene
|
||||
\return The non-transformed bounding box. */
|
||||
virtual const core::aabbox3d<f32>& getBoundingBox() const = 0;
|
||||
|
||||
|
||||
//! Get the axis aligned, transformed and animated absolute bounding box of this node.
|
||||
/** \return The transformed bounding box. */
|
||||
virtual const core::aabbox3d<f32> getTransformedBoundingBox() const
|
||||
@ -590,6 +589,12 @@ namespace scene
|
||||
return Children;
|
||||
}
|
||||
|
||||
//! Returns a list of all children (non-const version).
|
||||
/** \return The list of all children of this node. */
|
||||
core::list<ISceneNode*>& getChildren()
|
||||
{
|
||||
return Children;
|
||||
}
|
||||
|
||||
//! Changes the parent of the scene node.
|
||||
/** \param newParent The new parent to be used. */
|
||||
|
Loading…
Reference in New Issue
Block a user