0.9.9 API documenation
noise.hpp
Go to the documentation of this file.
1 
16 #pragma once
17 
18 // Dependencies
19 #include "../detail/setup.hpp"
20 #include "../detail/qualifier.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<length_t L, typename T, qualifier P>
41  GLM_FUNC_DECL T perlin(
42  vec<L, T, P> const& p);
43 
46  template<length_t L, typename T, qualifier P>
47  GLM_FUNC_DECL T perlin(
48  vec<L, T, P> const& p,
49  vec<L, T, P> const& rep);
50 
53  template<length_t L, typename T, qualifier P>
54  GLM_FUNC_DECL T simplex(
55  vec<L, T, P> const& p);
56 
58 }//namespace glm
59 
60 #include "noise.inl"
GLM_FUNC_DECL T simplex(vec< L, T, P > const &p)
Simplex noise.
Definition: _noise.hpp:11
GLM_FUNC_DECL T perlin(vec< L, T, P > const &p, vec< L, T, P > const &rep)
Periodic perlin noise.