| 0.9.9 API documenation

- Main Page
- Modules
- Files

- File List

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