Flow Visualisation
noise.hpp
Go to the documentation of this file.
1 
41 #ifndef GLM_GTC_noise
42 #define GLM_GTC_noise GLM_VERSION
43 
44 // Dependency:
45 #include "../glm.hpp"
46 
47 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
48 # pragma message("GLM: GLM_GTC_noise extension included")
49 #endif
50 
51 namespace glm
52 {
55 
58  template <typename T, template<typename> class vecType>
59  T perlin(
60  vecType<T> const & p);
61 
64  template <typename T, template<typename> class vecType>
65  T perlin(
66  vecType<T> const & p,
67  vecType<T> const & rep);
68 
71  template <typename T, template<typename> class vecType>
72  T simplex(
73  vecType<T> const & p);
74 
76 }//namespace glm
77 
78 #include "noise.inl"
79 
80 #endif//GLM_GTC_noise
T simplex(vecType< T > const &p)
Definition: _detail.hpp:38
Definition: _swizzle.hpp:43
T perlin(vecType< T > const &p)