0.9.6
func_noise.hpp
Go to the documentation of this file.
1 
38 #pragma once
39 
40 #include "type_vec1.hpp"
41 #include "type_vec2.hpp"
42 #include "type_vec3.hpp"
43 #include "setup.hpp"
44 
45 namespace glm
46 {
49 
56  template <typename genType>
57  GLM_FUNC_DECL typename genType::value_type noise1(genType const & x);
58 
65  template <typename genType>
66  GLM_FUNC_DECL tvec2<typename genType::value_type, defaultp> noise2(genType const & x);
67 
74  template <typename genType>
75  GLM_FUNC_DECL tvec3<typename genType::value_type, defaultp> noise3(genType const & x);
76 
83  template <typename genType>
84  GLM_FUNC_DECL tvec4<typename genType::value_type, defaultp> noise4(genType const & x);
85 
87 }//namespace glm
88 
89 #include "func_noise.inl"
GLM_FUNC_DECL tvec2< typename genType::value_type, defaultp > noise2(genType const &x)
Returns a 2D noise value based on the input value x.
OpenGL Mathematics (glm.g-truc.net)
GLM_FUNC_DECL genType::value_type noise1(genType const &x)
Returns a 1D noise value based on the input value x.
GLM_FUNC_DECL tvec3< typename genType::value_type, defaultp > noise3(genType const &x)
Returns a 3D noise value based on the input value x.
Definition: _noise.hpp:31
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
GLM_FUNC_DECL tvec4< typename genType::value_type, defaultp > noise4(genType const &x)
Returns a 4D noise value based on the input value x.
OpenGL Mathematics (glm.g-truc.net)