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

Function HMM_InvQ

HandmadeMath.h:2258–2269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2256
2257COVERAGE(HMM_InvQ, 1)
2258static inline HMM_Quat HMM_InvQ(HMM_Quat Left)
2259{
2260 ASSERT_COVERED(HMM_InvQ);
2261
2262 HMM_Quat Result;
2263 Result.X = -Left.X;
2264 Result.Y = -Left.Y;
2265 Result.Z = -Left.Z;
2266 Result.W = Left.W;
2267
2268 return HMM_DivQF(Result, (HMM_DotQ(Left, Left)));
2269}
2270
2271COVERAGE(HMM_NormQ, 1)
2272static inline HMM_Quat HMM_NormQ(HMM_Quat Quat)

Callers 1

TESTFunction · 0.85

Calls 2

HMM_DivQFFunction · 0.85
HMM_DotQFunction · 0.85

Tested by

no test coverage detected