Reference fromAxisAngle()

fromAxisAngle()

Returns a Quaternion for the axis angle representation of the rotation

Examples

Syntax

fromAxisAngle([angle], [x], [y], [z])

Parameters

angle
Number: Angle with which the points needs to be rotated
x
Number: x component of the axis vector
y
Number: y component of the axis vector
z
Number: z component of the axis vector

Related References