init_from_angle_vec3


Description:

public unowned Quaternion? init_from_angle_vec3 (float angle, Vec3 axis)

Initializes a Quaternion using an angle on a specific axis.

Parameters:

this

a Quaternion

angle

the rotation on a given axis, in degrees

axis

the axis of rotation, expressed as a vector

Returns:

the initialized quaternion