Clutter Engine 0.0.1
Loading...
Searching...
No Matches
quaternion_common_simd.inl
1#if GLM_ARCH & GLM_ARCH_SSE2_BIT
2
3namespace glm{
4namespace detail
5{
6 template<qualifier Q>
7 struct compute_dot<qua<float, Q>, float, true>
8 {
9 static GLM_FUNC_QUALIFIER float call(qua<float, Q> const& x, qua<float, Q> const& y)
10 {
11 return _mm_cvtss_f32(glm_vec1_dot(x.data, y.data));
12 }
13 };
14}//namespace detail
15}//namespace glm
16
17#endif//GLM_ARCH & GLM_ARCH_SSE2_BIT
18
detail namespace with internal helper functions
Definition json.h:249
Core features
Definition common.hpp:21