Flow Visualisation
fast_trigonometry.hpp
Go to the documentation of this file.
1 
38 #ifndef GLM_GTX_fast_trigonometry
39 #define GLM_GTX_fast_trigonometry GLM_VERSION
40 
41 // Dependency:
42 #include "../glm.hpp"
43 
44 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
45 # pragma message("GLM: GLM_GTX_fast_trigonometry extension included")
46 #endif
47 
48 namespace glm
49 {
52 
56  template <typename T>
57  T fastSin(const T& angle);
58 
62  template <typename T>
63  T fastCos(const T& angle);
64 
68  template <typename T>
69  T fastTan(const T& angle);
70 
74  template <typename T>
75  T fastAsin(const T& angle);
76 
80  template <typename T>
81  T fastAcos(const T& angle);
82 
86  template <typename T>
87  T fastAtan(const T& y, const T& x);
88 
92  template <typename T>
93  T fastAtan(const T& angle);
94 
96 }//namespace glm
97 
98 #include "fast_trigonometry.inl"
99 
100 #endif//GLM_GTX_fast_trigonometry
Definition: _detail.hpp:38
Definition: _swizzle.hpp:43
T fastCos(const T &angle)
Definition: fast_trigonometry.inl:23
T fastAcos(const T &angle)
Definition: fast_trigonometry.inl:50
T fastAtan(const T &y, const T &x)
Definition: fast_trigonometry.inl:59
T fastTan(const T &angle)
Definition: fast_trigonometry.inl:32
valType angle(detail::tquat< valType > const &x)
T fastSin(const T &angle)
Definition: fast_trigonometry.inl:14
T fastAsin(const T &angle)
Definition: fast_trigonometry.inl:41