HC_Compute_Matrix_Inverse

bool HC_Compute_Matrix_Inverse(float const matrix[], float out_matrix[])
bool HC_Compute_Matrix_Inverse(float const matrix, float out_matrix)

If the matrix is singular, Compute_Matrix_Determinant() would return zero. The adjoint (see Compute_Matrix_Adjoint() ) is similar and will always be defined, even for singular matrices. Consider using that instead where applicable.

HC_Compute_Coordinates, HC_Compute_Matrix_Determinant, HC_Compute_Matrix_Adjoint, HC_Compute_Transform, HC_Set_Modelling_Matrix, HC_Show_Device_Info

Parameters

matrix: Input transformation matrix.

out_matrix: Output transformation matrix, returned to the caller. Can point to the same place as matrix.

Returns

success