initFromRadians

fun initFromRadians(    radX: <Error class: unknown class>,     radY: <Error class: unknown class>,     radZ: <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

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