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

Function HMM_TransposeM2

HandmadeMath.h:1136–1146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1134
1135COVERAGE(HMM_TransposeM2, 1)
1136static inline HMM_Mat2 HMM_TransposeM2(HMM_Mat2 Matrix)
1137{
1138 ASSERT_COVERED(HMM_TransposeM2);
1139
1140 HMM_Mat2 Result = Matrix;
1141
1142 Result.Elements[0][1] = Matrix.Elements[1][0];
1143 Result.Elements[1][0] = Matrix.Elements[0][1];
1144
1145 return Result;
1146}
1147
1148COVERAGE(HMM_AddM2, 1)
1149static inline HMM_Mat2 HMM_AddM2(HMM_Mat2 Left, HMM_Mat2 Right)

Callers 2

HMM_TransposeFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected