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

Function HMM_TransposeM3

HandmadeMath.h:1285–1299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1283
1284COVERAGE(HMM_TransposeM3, 1)
1285static inline HMM_Mat3 HMM_TransposeM3(HMM_Mat3 Matrix)
1286{
1287 ASSERT_COVERED(HMM_TransposeM3);
1288
1289 HMM_Mat3 Result = Matrix;
1290
1291 Result.Elements[0][1] = Matrix.Elements[1][0];
1292 Result.Elements[0][2] = Matrix.Elements[2][0];
1293 Result.Elements[1][0] = Matrix.Elements[0][1];
1294 Result.Elements[1][2] = Matrix.Elements[2][1];
1295 Result.Elements[2][1] = Matrix.Elements[1][2];
1296 Result.Elements[2][0] = Matrix.Elements[0][2];
1297
1298 return Result;
1299}
1300
1301COVERAGE(HMM_AddM3, 1)
1302static inline HMM_Mat3 HMM_AddM3(HMM_Mat3 Left, HMM_Mat3 Right)

Callers 4

HMM_InvGeneralM3Function · 0.85
HMM_InvLookAtFunction · 0.85
HMM_TransposeFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected