Quaternion.toRadians

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

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

Parameters

radXreturn location for the rotation angle on the X axis (yaw), in radians
radYreturn location for the rotation angle on the Y axis (pitch), in radians
radZreturn location for the rotation angle on the Z axis (roll), in radians