Functions | |
void | Compute_Identity_Matrix (float *out_matrix) |
void Compute_Identity_Matrix | ( | float * | out_matrix | ) |
out_matrix | - Output transformation matrix, returned to the caller. |
Compute_Identity_Matrix() produces a matrix that represents "no transformation". It can be useful when program logic always assumes a previous transformation exists. The output array is always filled with [1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1].