0.9.6
noise.hpp
Go to the documentation of this file.
1 
45 #pragma once
46 
47 // Dependencies
48 #include "../detail/setup.hpp"
49 #include "../detail/precision.hpp"
50 #include "../detail/_noise.hpp"
51 #include "../geometric.hpp"
52 #include "../common.hpp"
53 #include "../vector_relational.hpp"
54 #include "../vec2.hpp"
55 #include "../vec3.hpp"
56 #include "../vec4.hpp"
57 
58 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
59 # pragma message("GLM: GLM_GTC_noise extension included")
60 #endif
61 
62 namespace glm
63 {
66 
69  template <typename T, precision P, template<typename, precision> class vecType>
70  GLM_FUNC_DECL T perlin(
71  vecType<T, P> const & p);
72 
75  template <typename T, precision P, template<typename, precision> class vecType>
76  GLM_FUNC_DECL T perlin(
77  vecType<T, P> const & p,
78  vecType<T, P> const & rep);
79 
82  template <typename T, precision P, template<typename, precision> class vecType>
83  GLM_FUNC_DECL T simplex(
84  vecType<T, P> const & p);
85 
87 }//namespace glm
88 
89 #include "noise.inl"
GLM_FUNC_DECL T perlin(vecType< T, P > const &p, vecType< T, P > const &rep)
Periodic perlin noise.
Definition: _noise.hpp:39
GLM_FUNC_DECL T simplex(vecType< T, P > const &p)
Simplex noise.