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