Commit 4250b6f7 authored by cutealien's avatar cutealien

Had added a const too much in last check-in.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4447 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 3a40f567
...@@ -174,8 +174,8 @@ namespace scene ...@@ -174,8 +174,8 @@ namespace scene
//! 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.
/** Note: The result is still an axis-aligned bounding box, so it's size /** Note: The result is still an axis-aligned bounding box, so it's size
changes with rotation. changes with rotation.
\return The transformed bounding box. */ \return The transformed bounding box. */
virtual const core::aabbox3d<f32> getTransformedBoundingBox() const virtual const core::aabbox3d<f32> getTransformedBoundingBox() const
{ {
...@@ -184,12 +184,12 @@ namespace scene ...@@ -184,12 +184,12 @@ namespace scene
return box; return box;
} }
//! Get a the 8 corners of the original bounding box transformed and //! Get a the 8 corners of the original bounding box transformed and
//! animated by the absolute transformation. //! animated by the absolute transformation.
/** Note: The result is _not_ identical to getTransformedBoundingBox().getEdges(), /** Note: The result is _not_ identical to getTransformedBoundingBox().getEdges(),
but getting an aabbox3d of these edges would then be identical. but getting an aabbox3d of these edges would then be identical.
\param edges Receives an array with the transformed edges */ \param edges Receives an array with the transformed edges */
virtual const void getTransformedBoundingBoxEdges(core::array< core::vector3d<f32> >& edges) const virtual void getTransformedBoundingBoxEdges(core::array< core::vector3d<f32> >& edges) const
{ {
edges.set_used(8); edges.set_used(8);
getBoundingBox().getEdges( edges.pointer() ); getBoundingBox().getEdges( edges.pointer() );
...@@ -198,10 +198,10 @@ namespace scene ...@@ -198,10 +198,10 @@ namespace scene
} }
//! Get the absolute transformation of the node. Is recalculated every OnAnimate()-call. //! Get the absolute transformation of the node. Is recalculated every OnAnimate()-call.
/** NOTE: For speed reasons the absolute transformation is not /** NOTE: For speed reasons the absolute transformation is not
automatically recalculated on each change of the relative automatically recalculated on each change of the relative
transformation or by a transformation change of an parent. Instead the transformation or by a transformation change of an parent. Instead the
update usually happens once per frame in OnAnimate. You can enforce update usually happens once per frame in OnAnimate. You can enforce
an update with updateAbsolutePosition(). an update with updateAbsolutePosition().
\return The absolute transformation matrix. */ \return The absolute transformation matrix. */
virtual const core::matrix4& getAbsoluteTransformation() const virtual const core::matrix4& getAbsoluteTransformation() const
...@@ -527,10 +527,10 @@ namespace scene ...@@ -527,10 +527,10 @@ namespace scene
//! Gets the absolute position of the node in world coordinates. //! Gets the absolute position of the node in world coordinates.
/** If you want the position of the node relative to its parent, /** If you want the position of the node relative to its parent,
use getPosition() instead. use getPosition() instead.
NOTE: For speed reasons the absolute position is not NOTE: For speed reasons the absolute position is not
automatically recalculated on each change of the relative automatically recalculated on each change of the relative
position or by a position change of an parent. Instead the position or by a position change of an parent. Instead the
update usually happens once per frame in OnAnimate. You can enforce update usually happens once per frame in OnAnimate. You can enforce
an update with updateAbsolutePosition(). an update with updateAbsolutePosition().
\return The current absolute position of the scene node (updated on last call of updateAbsolutePosition). */ \return The current absolute position of the scene node (updated on last call of updateAbsolutePosition). */
virtual core::vector3df getAbsolutePosition() const virtual core::vector3df getAbsolutePosition() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment