- Main Page
- Related Pages
- Modules
- Files

- File List

fast_square_root.hpp
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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