| 598 | |
| 599 | COVERAGE(HMM_V4, 1) |
| 600 | static inline HMM_Vec4 HMM_V4(float X, float Y, float Z, float W) |
| 601 | { |
| 602 | ASSERT_COVERED(HMM_V4); |
| 603 | |
| 604 | HMM_Vec4 Result; |
| 605 | |
| 606 | #ifdef HANDMADE_MATH__USE_SSE |
| 607 | Result.SSE = _mm_setr_ps(X, Y, Z, W); |
| 608 | #else |
| 609 | Result.X = X; |
| 610 | Result.Y = Y; |
| 611 | Result.Z = Z; |
| 612 | Result.W = W; |
| 613 | #endif |
| 614 | |
| 615 | return Result; |
| 616 | } |
| 617 | |
| 618 | COVERAGE(HMM_V4V, 1) |
| 619 | static inline HMM_Vec4 HMM_V4V(HMM_Vec3 Vector, float W) |