init_from_angle_vector


Description:

public void init_from_angle_vector (float angle, float axis3f)

Initializes a quaternion that rotates angle degrees around the given axis vector.

The axis vector does not need to be normalized.

Parameters:

this

An uninitialized Quaternion

angle

The angle to rotate around axis3f

axis3f

your 3 component axis vector about which you want to rotate.

Returns:

A normalized, unit quaternion representing an orientation rotated angle degrees around the given axis vector.