- Main Page
- Related Pages
- Modules
- Files

- File List

gtc/noise.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
41 #ifndef GLM_GTC_noise
42 #define GLM_GTC_noise GLM_VERSION
43
44 // Dependency:
45 #include "../glm.hpp"
46
47 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
48 # pragma message("GLM: GLM_GTC_noise extension included")
49 #endif
50
51 namespace glm
52 {
55
58 template <typename T, template<typename> class vecType>
59 T perlin(
60 vecType<T> const & p);
61
64 template <typename T, template<typename> class vecType>
65 T perlin(
66 vecType<T> const & p,
67 vecType<T> const & rep);
68
71 template <typename T, template<typename> class vecType>
72 T simplex(
73 vecType<T> const & p);
74
76 }//namespace glm
77
78 #include "noise.inl"
79
80 #endif//GLM_GTC_noise