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-e03cc46cb475master
parent
e0bf67e05e
commit
b548cee8fc
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue