initFromRadians

fun initFromRadians(radX: Float, radY: Float, radZ: Float): Quaternion

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