Fixed the signatures the other way.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1248 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2008-02-12 23:43:19 +00:00
parent 5cc156d983
commit 152f5f1c68
2 changed files with 4 additions and 4 deletions

View File

@ -375,7 +375,7 @@ namespace scene
//! Gets the scale of the scene node.
/** \return Returns the scale of the scene node. */
virtual core::vector3df getScale() const
virtual const 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 core::vector3df getPosition() const
virtual const core::vector3df& getPosition() const
{
return RelativeTranslation;
}

View File

@ -78,7 +78,7 @@ namespace scene
//! core::vector3df ( 2.0f, 2.0f, 2.0f ), although the total scaling of the scene node is
//! core::vector3df ( 100.0f, 10.0f, 100.0f ).
//! \return Returns the last scaling factor passed to the scene node.
virtual core::vector3df getScale() const
virtual const core::vector3df& getScale() const
{
return TerrainData.Scale;
}
@ -104,7 +104,7 @@ namespace scene
//! Gets the last positioning vector applied to the scene node.
//! \return Returns the last position vector applied to the scene node.
virtual const core::vector3df getPosition() const
virtual const core::vector3df& getPosition() const
{
return TerrainData.Position;
}