GetAngleVectors Function

Returns vectors in the direction of an angle.

void GetAngleVectors(const float angle[3], float fwd[3], float right[3], float up[3])

Parameters

const float[3] angle

Angle.

float[3] fwd

Forward vector buffer or NULL_VECTOR.

float[3] right

Right vector buffer or NULL_VECTOR.

float[3] up

Up vector buffer or NULL_VECTOR.