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

Function HMM_Q

HandmadeMath.h:2072–2088  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2070
2071COVERAGE(HMM_Q, 1)
2072static 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
2090COVERAGE(HMM_QV4, 1)
2091static inline HMM_Quat HMM_QV4(HMM_Vec4 Vector)

Callers 9

HMM_SLerpFunction · 0.85
HMM_M4ToQ_RHFunction · 0.85
HMM_M4ToQ_LHFunction · 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