fromAngleAxis

fun fromAngleAxis(angle: Float, x: Float, y: Float, z: Float)(source)

Sets this quaternion from an axis-angle rotation.

Parameters

angle

Rotation angle in radians.