Commit 152f5f1c authored by hybrid's avatar hybrid

Fixed the signatures the other way.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1248 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 5cc156d9
...@@ -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 core::vector3df getScale() const virtual const 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 core::vector3df getPosition() const virtual const core::vector3df& getPosition() const
{ {
return RelativeTranslation; return RelativeTranslation;
} }
......
...@@ -78,7 +78,7 @@ namespace scene ...@@ -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 ( 2.0f, 2.0f, 2.0f ), although the total scaling of the scene node is
//! core::vector3df ( 100.0f, 10.0f, 100.0f ). //! core::vector3df ( 100.0f, 10.0f, 100.0f ).
//! \return Returns the last scaling factor passed to the scene node. //! \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; return TerrainData.Scale;
} }
...@@ -104,7 +104,7 @@ namespace scene ...@@ -104,7 +104,7 @@ namespace scene
//! Gets the last positioning vector applied to the scene node. //! Gets the last positioning vector applied to the scene node.
//! \return Returns the last position 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; return TerrainData.Position;
} }
......
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