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

Function HMM_QV4

HandmadeMath.h:2091–2107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2089
2090COVERAGE(HMM_QV4, 1)
2091static inline HMM_Quat HMM_QV4(HMM_Vec4 Vector)
2092{
2093 ASSERT_COVERED(HMM_QV4);
2094
2095 HMM_Quat Result;
2096
2097#ifdef HANDMADE_MATH__USE_SSE
2098 Result.SSE = Vector.SSE;
2099#else
2100 Result.X = Vector.X;
2101 Result.Y = Vector.Y;
2102 Result.Z = Vector.Z;
2103 Result.W = Vector.W;
2104#endif
2105
2106 return Result;
2107}
2108
2109COVERAGE(HMM_AddQ, 1)
2110static inline HMM_Quat HMM_AddQ(HMM_Quat Left, HMM_Quat Right)

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected