Functions | |
void | Compute_Matrix_Adjoint (const float *matrix, float *out_matrix) |
void Compute_Matrix_Adjoint | ( | const float * | matrix, |
float * | out_matrix | ||
) |
matrix | - Input transformation matrix. |
out_matrix | - Output transformation matrix, returned to the caller. Can point to the same place as matrix. |
Compute_Matrix_Adjoint() takes a general 4x4 transformation and computes its adjoint. The adjoint of a matrix is similar to the inverse of the matrix---the adjoint divided by the determinant gives the inverse. The adjoint is sometimes used in place of the inverse because it's easier to compute and is never singular.