Quaternion.toRadians

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

class Quaternion
void
toRadians
(
out float radX
,
out float radY
,
out float radZ
)

Parameters

radX float

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

radY float

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

radZ float

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

Meta