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

Function HMM_M2D

HandmadeMath.h:1124–1133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1122
1123COVERAGE(HMM_M2D, 1)
1124static inline HMM_Mat2 HMM_M2D(float Diagonal)
1125{
1126 ASSERT_COVERED(HMM_M2D);
1127
1128 HMM_Mat2 Result = {0};
1129 Result.Elements[0][0] = Diagonal;
1130 Result.Elements[1][1] = Diagonal;
1131
1132 return Result;
1133}
1134
1135COVERAGE(HMM_TransposeM2, 1)
1136static inline HMM_Mat2 HMM_TransposeM2(HMM_Mat2 Matrix)

Callers 2

TESTFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected