| 0.9.9 API documenation

- Main Page
- Modules
- Files

- File List

noise.hpp
Go to the documentation of this file.
1
16 #pragma once
17
18 // Dependencies
19 #include "../detail/setup.hpp"
20 #include "../detail/precision.hpp"
21 #include "../detail/_noise.hpp"
22 #include "../geometric.hpp"
23 #include "../common.hpp"
24 #include "../vector_relational.hpp"
25 #include "../vec2.hpp"
26 #include "../vec3.hpp"
27 #include "../vec4.hpp"
28
29 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
30 # pragma message("GLM: GLM_GTC_noise extension included")
31 #endif
32
33 namespace glm
34 {
37
40 template <typename T, precision P, template<typename, precision> class vecType>
41 GLM_FUNC_DECL T perlin(
42 vecType<T, P> const & p);
43
46 template <typename T, precision P, template<typename, precision> class vecType>
47 GLM_FUNC_DECL T perlin(
48 vecType<T, P> const & p,
49 vecType<T, P> const & rep);
50
53 template <typename T, precision P, template<typename, precision> class vecType>
54 GLM_FUNC_DECL T simplex(
55 vecType<T, P> const & p);
56
58 }//namespace glm
59
60 #include "noise.inl"
glm::perlin
GLM_FUNC_DECL T perlin(vecType< T, P > const &p, vecType< T, P > const &rep)
Periodic perlin noise.
glm::simplex
GLM_FUNC_DECL T simplex(vecType< T, P > const &p)
Simplex noise.
glm
Definition: _noise.hpp:11