Functions | |
void | Compute_Offaxis_Rotation (double x, double y, double z, double theta, float *out_matrix) |
void | DCompute_Offaxis_Rotation (double x, double y, double z, double theta, double *out_matrix) |
Similar to Compute_Offaxis_Rotation, but operates on double-precision data. More... | |
void Compute_Offaxis_Rotation | ( | double | x, |
double | y, | ||
double | z, | ||
double | theta, | ||
float * | out_matrix | ||
) |
x | - X coordinate of the vector that specifies the axis of rotation |
y | - Y coordinate of the vector that specifies the axis of rotation |
z | - Z coordinate of the vector that specifies the axis of rotation |
theta | - Angle of rotation. |
out_matrix | - Output transformation matrix. Returned to caller. |
Compute_Offaxis_Rotation() produces a matrix that represents a rotation about an arbitrary axis passing through the origin.
void DCompute_Offaxis_Rotation | ( | double | x, |
double | y, | ||
double | z, | ||
double | theta, | ||
double * | out_matrix | ||
) |
Similar to Compute_Offaxis_Rotation, but operates on double-precision data.
x | - X coordinate of the vector that specifies the axis of rotation |
y | - Y coordinate of the vector that specifies the axis of rotation |
z | - Z coordinate of the vector that specifies the axis of rotation |
theta | - Angle of rotation. |
out_matrix | - Output transformation matrix. Returned to caller. |