0.9.6
noise.hpp
Go to the documentation of this file.
1 
41 #pragma once
42 
43 // Dependencies
44 #include "../detail/setup.hpp"
45 #include "../detail/precision.hpp"
46 
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTC_noise extension included")
49 #endif
50 
51 namespace glm
52 {
55 
58  template <typename T, precision P, template<typename, precision> class vecType>
59  GLM_FUNC_DECL T perlin(
60  vecType<T, P> const & p);
61 
64  template <typename T, precision P, template<typename, precision> class vecType>
65  GLM_FUNC_DECL T perlin(
66  vecType<T, P> const & p,
67  vecType<T, P> const & rep);
68 
71  template <typename T, precision P, template<typename, precision> class vecType>
72  GLM_FUNC_DECL T simplex(
73  vecType<T, P> const & p);
74 
76 }//namespace glm
77 
78 #include "noise.inl"
GLM_FUNC_DECL T simplex(vecType< T, P > const &p)
Simplex noise.
Definition: _noise.hpp:31
GLM_FUNC_DECL T perlin(vecType< T, P > const &p, vecType< T, P > const &rep)
Periodic perlin noise.