Conversion between quaternions and Euler angles: Difference between revisions

Content deleted Content added
Definition: Remove one last vector notation
Eskivor (talk | contribs)
Source code: add precision
Line 169:
};
 
Quaternion ToQuaternion(double roll, double pitch, double yaw) // roll (x), pitch (y), yaw (z), angles are in radians
{
// Abbreviations for the various angular functions