| 2256 | |
| 2257 | COVERAGE(HMM_InvQ, 1) |
| 2258 | static 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 | |
| 2271 | COVERAGE(HMM_NormQ, 1) |
| 2272 | static inline HMM_Quat HMM_NormQ(HMM_Quat Quat) |