Quaternion.initFromRadians
graphene.quaternion.Quaternion initFromRadians(float radX, float radY, float radZ)Initializes a #graphene_quaternion_t using the values of the Euler angles on each axis.
See also: [graphene.quaternion.Quaternion.initFromEuler]
Parameters
radX | rotation angle on the X axis (yaw), in radians |
radY | rotation angle on the Y axis (pitch), in radians |
radZ | rotation angle on the Z axis (roll), in radians |
Returns
the initialized quaternion