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

Function FromMatrix4d

dotnet/CAPI/src/Matrix4d_CAPI.cpp:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24static Matrix4d_C FromMatrix4d(const LNLib::Matrix4d& m) {
25 Matrix4d_C c;
26 for (int i = 0; i < 4; ++i)
27 for (int j = 0; j < 4; ++j)
28 c.m[i * 4 + j] = m.GetElement(i, j);
29 return c;
30}
31
32Matrix4d_C LNLIB_MATRIX_create()
33{

Calls 1

GetElementMethod · 0.80

Tested by

no test coverage detected