Quaternion.toAngles
void toAngles(out float degX, out float degY, out float degZ)Converts a #graphene_quaternion_t to its corresponding rotations on the Euler angles on each axis.
Parameters
degX | return location for the rotation angle on the X axis (yaw), in degrees |
degY | return location for the rotation angle on the Y axis (pitch), in degrees |
degZ | return location for the rotation angle on the Z axis (roll), in degrees |