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

Function HMM_M3D

HandmadeMath.h:1272–1282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1270
1271COVERAGE(HMM_M3D, 1)
1272static inline HMM_Mat3 HMM_M3D(float Diagonal)
1273{
1274 ASSERT_COVERED(HMM_M3D);
1275
1276 HMM_Mat3 Result = {0};
1277 Result.Elements[0][0] = Diagonal;
1278 Result.Elements[1][1] = Diagonal;
1279 Result.Elements[2][2] = Diagonal;
1280
1281 return Result;
1282}
1283
1284COVERAGE(HMM_TransposeM3, 1)
1285static inline HMM_Mat3 HMM_TransposeM3(HMM_Mat3 Matrix)

Callers 2

TESTFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected