MCPcopy Index your code
hub / github.com/HandmadeMath/HandmadeMath / HMM_DeterminantM3

Function HMM_DeterminantM3

HandmadeMath.h:1417–1427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1415
1416COVERAGE(HMM_DeterminantM3, 1)
1417static inline float HMM_DeterminantM3(HMM_Mat3 Matrix)
1418{
1419 ASSERT_COVERED(HMM_DeterminantM3);
1420
1421 HMM_Mat3 Cross;
1422 Cross.Columns[0] = HMM_Cross(Matrix.Columns[1], Matrix.Columns[2]);
1423 Cross.Columns[1] = HMM_Cross(Matrix.Columns[2], Matrix.Columns[0]);
1424 Cross.Columns[2] = HMM_Cross(Matrix.Columns[0], Matrix.Columns[1]);
1425
1426 return HMM_DotV3(Cross.Columns[2], Matrix.Columns[2]);
1427}
1428
1429COVERAGE(HMM_InvGeneralM3, 1)
1430static inline HMM_Mat3 HMM_InvGeneralM3(HMM_Mat3 Matrix)

Callers 2

HMM_DeterminantFunction · 0.85
TESTFunction · 0.85

Calls 2

HMM_CrossFunction · 0.85
HMM_DotV3Function · 0.85

Tested by

no test coverage detected