initFromAngles

fun initFromAngles(    degX: <Error class: unknown class>,     degY: <Error class: unknown class>,     degZ: <Error class: unknown class>): Quaternion(source)

Initializes a #graphene_quaternion_t using the values of the Euler angles on each axis.

See also: graphene_quaternion_init_from_euler()

Return

the initialized quaternion

Since

1.0

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