Commit 408045e3 authored by bitplane's avatar bitplane

reverted (accidental?) changes to ISceneNode::getPosition and setPosition return values

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1246 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 25235a32
...@@ -375,7 +375,7 @@ namespace scene ...@@ -375,7 +375,7 @@ namespace scene
//! Gets the scale of the scene node. //! Gets the scale of the scene node.
/** \return Returns the scale of the scene node. */ /** \return Returns the scale of the scene node. */
virtual const core::vector3df& getScale() const virtual core::vector3df getScale() const
{ {
return RelativeScale; return RelativeScale;
} }
...@@ -410,7 +410,7 @@ namespace scene ...@@ -410,7 +410,7 @@ namespace scene
//! Gets the position of the node. //! Gets the position of the node.
/** Note that the position is relative to the parent. /** Note that the position is relative to the parent.
\return Returns the current position of the node relative to the parent. */ \return Returns the current position of the node relative to the parent. */
virtual const core::vector3df& getPosition() const virtual core::vector3df getPosition() const
{ {
return RelativeTranslation; return RelativeTranslation;
} }
......
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