MCPcopy Create free account
hub / github.com/BIMCoderLiang/LNLib / LNLIB_MATRIX_get_inverse

Function LNLIB_MATRIX_get_inverse

dotnet/CAPI/src/Matrix4d_CAPI.cpp:138–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138int LNLIB_MATRIX_get_inverse(Matrix4d_C m, Matrix4d_C* out_inverse)
139{
140 LNLib::Matrix4d inv;
141 bool success = ToMatrix4d(m).GetInverse(inv);
142 if (success && out_inverse) {
143 *out_inverse = FromMatrix4d(inv);
144 }
145 return success ? 1 : 0;
146}
147
148Matrix4d_C LNLIB_MATRIX_get_transpose(Matrix4d_C m)
149{

Callers

nothing calls this directly

Calls 3

ToMatrix4dFunction · 0.85
FromMatrix4dFunction · 0.85
GetInverseMethod · 0.45

Tested by

no test coverage detected