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

Function HMM_MulV4

HandmadeMath.h:779–795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

777
778COVERAGE(HMM_MulV4, 1)
779static inline HMM_Vec4 HMM_MulV4(HMM_Vec4 Left, HMM_Vec4 Right)
780{
781 ASSERT_COVERED(HMM_MulV4);
782
783 HMM_Vec4 Result;
784
785#ifdef HANDMADE_MATH__USE_SSE
786 Result.SSE = _mm_mul_ps(Left.SSE, Right.SSE);
787#else
788 Result.X = Left.X * Right.X;
789 Result.Y = Left.Y * Right.Y;
790 Result.Z = Left.Z * Right.Z;
791 Result.W = Left.W * Right.W;
792#endif
793
794 return Result;
795}
796
797COVERAGE(HMM_MulV4F, 1)
798static inline HMM_Vec4 HMM_MulV4F(HMM_Vec4 Left, float Right)

Callers 3

HMM_MulFunction · 0.85
operator*Function · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected