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

Function HMM_V4

HandmadeMath.h:600–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598
599COVERAGE(HMM_V4, 1)
600static 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
618COVERAGE(HMM_V4V, 1)
619static inline HMM_Vec4 HMM_V4V(HMM_Vec3 Vector, float W)

Callers 8

TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected