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
master
Rogerborg 2008-11-23 15:25:38 +00:00
parent e0bf67e05e
commit b548cee8fc
1 changed files with 4 additions and 2 deletions

View File

@ -709,8 +709,10 @@ namespace core
}
//! Returns the rotation, as set by setRotation(). This code was sent
//! in by Chev.
//! Returns a rotation that is equivalent to that set by setRotationDegrees().
/** 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>
inline core::vector3d<T> CMatrix4<T>::getRotationDegrees() const
{