Flow Visualisation
fast_square_root.hpp
Go to the documentation of this file.
1 
40 #ifndef GLM_GTX_fast_square_root
41 #define GLM_GTX_fast_square_root GLM_VERSION
42 
43 // Dependency:
44 #include "../glm.hpp"
45 
46 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
47 # pragma message("GLM: GLM_GTX_fast_square_root extension included")
48 #endif
49 
50 namespace glm
51 {
54 
57  template <typename genType>
58  genType fastSqrt(genType const & x);
59 
62  template <typename genType>
63  genType fastInverseSqrt(genType const & x);
64 
67  template <typename genType>
68  typename genType::value_type fastLength(genType const & x);
69 
72  template <typename genType>
73  typename genType::value_type fastDistance(genType const & x, genType const & y);
74 
77  template <typename genType>
78  genType fastNormalize(genType const & x);
79 
81 }// namespace glm
82 
83 #include "fast_square_root.inl"
84 
85 #endif//GLM_GTX_fast_square_root
Definition: _detail.hpp:38
genType::value_type fastDistance(genType const &x, genType const &y)
Definition: fast_square_root.inl:89
genType fastNormalize(genType const &x)
Definition: fast_square_root.inl:100
genType fastSqrt(genType const &x)
Definition: fast_square_root.inl:15
genType fastInverseSqrt(genType const &x)
Definition: fast_square_root.inl:29
genType::value_type fastLength(genType const &x)
Definition: fast_square_root.inl:49