| 2089 | |
| 2090 | COVERAGE(HMM_QV4, 1) |
| 2091 | static inline HMM_Quat HMM_QV4(HMM_Vec4 Vector) |
| 2092 | { |
| 2093 | ASSERT_COVERED(HMM_QV4); |
| 2094 | |
| 2095 | HMM_Quat Result; |
| 2096 | |
| 2097 | #ifdef HANDMADE_MATH__USE_SSE |
| 2098 | Result.SSE = Vector.SSE; |
| 2099 | #else |
| 2100 | Result.X = Vector.X; |
| 2101 | Result.Y = Vector.Y; |
| 2102 | Result.Z = Vector.Z; |
| 2103 | Result.W = Vector.W; |
| 2104 | #endif |
| 2105 | |
| 2106 | return Result; |
| 2107 | } |
| 2108 | |
| 2109 | COVERAGE(HMM_AddQ, 1) |
| 2110 | static inline HMM_Quat HMM_AddQ(HMM_Quat Left, HMM_Quat Right) |