38 #ifndef glm_core_func_noise
39 #define glm_core_func_noise
41 #include "type_vec1.hpp"
42 #include "type_vec2.hpp"
43 #include "type_vec3.hpp"
57 template <
typename genType>
58 GLM_FUNC_DECL
typename genType::value_type
noise1(genType
const & x);
66 template <
typename genType>
67 GLM_FUNC_DECL detail::tvec2<typename genType::value_type, defaultp>
noise2(genType
const & x);
75 template <
typename genType>
76 GLM_FUNC_DECL detail::tvec3<typename genType::value_type, defaultp>
noise3(genType
const & x);
84 template <
typename genType>
85 GLM_FUNC_DECL detail::tvec4<typename genType::value_type, defaultp>
noise4(genType
const & x);
90 #include "func_noise.inl"
92 #endif//glm_core_func_noise
GLM_FUNC_DECL genType::value_type noise1(genType const &x)
Returns a 1D noise value based on the input value x.
GLM_FUNC_DECL detail::tvec2< typename genType::value_type, defaultp > noise2(genType const &x)
Returns a 2D noise value based on the input value x.
GLM_FUNC_DECL detail::tvec4< typename genType::value_type, defaultp > noise4(genType const &x)
Returns a 4D noise value based on the input value x.
GLM_FUNC_DECL detail::tvec3< typename genType::value_type, defaultp > noise3(genType const &x)
Returns a 3D noise value based on the input value x.