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

Function HMM_M4D

HandmadeMath.h:1462–1473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1460
1461COVERAGE(HMM_M4D, 1)
1462static inline HMM_Mat4 HMM_M4D(float Diagonal)
1463{
1464 ASSERT_COVERED(HMM_M4D);
1465
1466 HMM_Mat4 Result = {0};
1467 Result.Elements[0][0] = Diagonal;
1468 Result.Elements[1][1] = Diagonal;
1469 Result.Elements[2][2] = Diagonal;
1470 Result.Elements[3][3] = Diagonal;
1471
1472 return Result;
1473}
1474
1475COVERAGE(HMM_TransposeM4, 1)
1476static inline HMM_Mat4 HMM_TransposeM4(HMM_Mat4 Matrix)

Callers 6

HMM_TranslateFunction · 0.85
HMM_Rotate_RHFunction · 0.85
HMM_ScaleFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected