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. */
|
\return The non-transformed bounding box. */
|
||||||
virtual const core::aabbox3d<f32>& getBoundingBox() const = 0;
|
virtual const core::aabbox3d<f32>& getBoundingBox() const = 0;
|
||||||
|
|
||||||
|
|
||||||
//! Get the axis aligned, transformed and animated absolute bounding box of this node.
|
//! Get the axis aligned, transformed and animated absolute bounding box of this node.
|
||||||
/** \return The transformed bounding box. */
|
/** \return The transformed bounding box. */
|
||||||
virtual const core::aabbox3d<f32> getTransformedBoundingBox() const
|
virtual const core::aabbox3d<f32> getTransformedBoundingBox() const
|
||||||
@ -590,6 +589,12 @@ namespace scene
|
|||||||
return Children;
|
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.
|
//! Changes the parent of the scene node.
|
||||||
/** \param newParent The new parent to be used. */
|
/** \param newParent The new parent to be used. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user