intrinsic_geometric.hpp
Go to the documentation of this file.
1 
29 #pragma once
30 
31 #include "setup.hpp"
32 
33 #if(!(GLM_ARCH & GLM_ARCH_SSE2))
34 # error "SSE2 instructions not supported or enabled"
35 #else
36 
37 #include "intrinsic_common.hpp"
38 
39 namespace glm{
40 namespace detail
41 {
42  //length
43  __m128 sse_len_ps(__m128 x);
44 
45  //distance
46  __m128 sse_dst_ps(__m128 p0, __m128 p1);
47 
48  //dot
49  __m128 sse_dot_ps(__m128 v1, __m128 v2);
50 
51  // SSE1
52  __m128 sse_dot_ss(__m128 v1, __m128 v2);
53 
54  //cross
55  __m128 sse_xpd_ps(__m128 v1, __m128 v2);
56 
57  //normalize
58  __m128 sse_nrm_ps(__m128 v);
59 
60  //faceforward
61  __m128 sse_ffd_ps(__m128 N, __m128 I, __m128 Nref);
62 
63  //reflect
64  __m128 sse_rfe_ps(__m128 I, __m128 N);
65 
66  //refract
67  __m128 sse_rfa_ps(__m128 I, __m128 N, __m128 eta);
68 
69 }//namespace detail
70 }//namespace glm
71 
72 #include "intrinsic_geometric.inl"
73 
74 #endif//GLM_ARCH


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:41:31