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-e03cc46cb475master
parent
25235a32fe
commit
408045e3ff
|
@ -375,7 +375,7 @@ namespace scene
|
|||
|
||||
//! Gets 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;
|
||||
}
|
||||
|
@ -410,7 +410,7 @@ namespace scene
|
|||
//! Gets the position of the node.
|
||||
/** Note that the position is 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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue