| 2070 | |
| 2071 | COVERAGE(HMM_Q, 1) |
| 2072 | static inline HMM_Quat HMM_Q(float X, float Y, float Z, float W) |
| 2073 | { |
| 2074 | ASSERT_COVERED(HMM_Q); |
| 2075 | |
| 2076 | HMM_Quat Result; |
| 2077 | |
| 2078 | #ifdef HANDMADE_MATH__USE_SSE |
| 2079 | Result.SSE = _mm_setr_ps(X, Y, Z, W); |
| 2080 | #else |
| 2081 | Result.X = X; |
| 2082 | Result.Y = Y; |
| 2083 | Result.Z = Z; |
| 2084 | Result.W = W; |
| 2085 | #endif |
| 2086 | |
| 2087 | return Result; |
| 2088 | } |
| 2089 | |
| 2090 | COVERAGE(HMM_QV4, 1) |
| 2091 | static inline HMM_Quat HMM_QV4(HMM_Vec4 Vector) |
no outgoing calls
no test coverage detected