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 
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  T perlin(
60  vecType<T, P> const & p);
61 
64  template <typename T, precision P, template<typename, precision> class vecType>
65  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  T simplex(
73  vecType<T, P> const & p);
74 
76 }//namespace glm
77 
78 #include "noise.inl"
79 
80 #endif//GLM_GTC_noise
T simplex(vecType< T, P > const &p)
Simplex noise.
T perlin(vecType< T, P > const &p)
Classic perlin noise.