Quaternion.toAngles

Converts a #graphene_quaternion_t to its corresponding rotations on the Euler angles on each axis.

class Quaternion
void
toAngles
(
out float degX
,
out float degY
,
out float degZ
)

Parameters

degX float

return location for the rotation angle on the X axis (yaw), in degrees

degY float

return location for the rotation angle on the Y axis (pitch), in degrees

degZ float

return location for the rotation angle on the Z axis (roll), in degrees

Meta