Functions | |
void | Compute_Rotation_Matrix (double alpha, double beta, double theta, float *out_matrix) |
void | DCompute_Rotation_Matrix (double alpha, double beta, double theta, float *out_matrix) |
void Compute_Rotation_Matrix | ( | double | alpha, |
double | beta, | ||
double | theta, | ||
float * | out_matrix | ||
) |
alpha | - Angle of rotation about the X axis. |
beta | - Angle of rotation about the Y axis. |
theta | - Angle of rotation about the Z axis. |
out_matrix | - Output transformation matrix, returned to the caller. |
Compute_Rotation_Matrix() produces a matrix representing a rotation about the origin. It consists of a rotation of alpha degrees about the X axis, of beta degrees about Y, and of theta degrees about Z.