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

Function HMM_V4V

HandmadeMath.h:619–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617
618COVERAGE(HMM_V4V, 1)
619static inline HMM_Vec4 HMM_V4V(HMM_Vec3 Vector, float W)
620{
621 ASSERT_COVERED(HMM_V4V);
622
623 HMM_Vec4 Result;
624
625#ifdef HANDMADE_MATH__USE_SSE
626 Result.SSE = _mm_setr_ps(Vector.X, Vector.Y, Vector.Z, W);
627#else
628 Result.XYZ = Vector;
629 Result.W = W;
630#endif
631
632 return Result;
633}
634
635
636/*

Callers 4

HMM_InvGeneralM4Function · 0.85
HMM_InvLookAtFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected