Problem with getLocalRotation().FromAngleAxis()

Yes, I updated the javadoc to note that:
[java] /**
* toAngles returns this quaternion converted to Euler
* rotation angles (yaw,roll,pitch).

* Note that the result is not always 100% accurate due to the implications of euler angles.
* @see http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToEuler/index.htm
*
* @param angles
* the float[] in which the angles should be stored, or null if
* you want a new float[] to be created
* @return the float[] in which the angles are stored.
*/
[/java]

3 Likes