Commit b548cee8 authored by Rogerborg's avatar Rogerborg

Clarify the comment on matrix4::getRotationDegrees() to explain that the...

Clarify the comment on matrix4::getRotationDegrees() to explain that the returned Euler triplet will be an equivalent rotation to that set by setRotationDegrees(), just not necessarily identical to it.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1814 dfc29bdd-3216-0410-991c-e03cc46cb475
parent e0bf67e0
...@@ -709,8 +709,10 @@ namespace core ...@@ -709,8 +709,10 @@ namespace core
} }
//! Returns the rotation, as set by setRotation(). This code was sent //! Returns a rotation that is equivalent to that set by setRotationDegrees().
//! in by Chev. /** This code was sent in by Chev. Note that it does not necessarily return
the *same* Euler angles as those set by setRotationDegrees(), but the rotation will
be equivalent, i.e. will have the same result when used to rotate a vector or node. */
template <class T> template <class T>
inline core::vector3d<T> CMatrix4<T>::getRotationDegrees() const inline core::vector3d<T> CMatrix4<T>::getRotationDegrees() 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