GLM  0.9.5
gtc/noise.hpp
Go to the documentation of this file.
1 
41 #ifndef GLM_GTC_noise
42 #define GLM_GTC_noise
43 
44 // Dependencies
45 #include "../detail/setup.hpp"
46 #include "../detail/precision.hpp"
47 
48 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
49 # pragma message("GLM: GLM_GTC_noise extension included")
50 #endif
51 
52 namespace glm
53 {
56 
59  template <typename T, precision P, template<typename, precision> class vecType>
60  T perlin(
61  vecType<T, P> const & p);
62 
65  template <typename T, precision P, template<typename, precision> class vecType>
66  T perlin(
67  vecType<T, P> const & p,
68  vecType<T, P> const & rep);
69 
72  template <typename T, precision P, template<typename, precision> class vecType>
73  T simplex(
74  vecType<T, P> const & p);
75 
77 }//namespace glm
78 
79 #include "noise.inl"
80 
81 #endif//GLM_GTC_noise
T simplex(vecType< T, P > const &p)
Simplex noise.
T perlin(vecType< T, P > const &p)
Classic perlin noise.