| 0.9.7

- Main Page
- Modules
- Files

- File List

func_noise.hpp
Go to the documentation of this file.
1
42 #pragma once
43
44 #include "type_vec1.hpp"
45 #include "type_vec2.hpp"
46 #include "type_vec3.hpp"
47 #include "setup.hpp"
48
49 namespace glm
50 {
53
60 template <typename genType>
61 GLM_FUNC_DECL typename genType::value_type noise1(genType const & x);
62
69 template <typename genType>
70 GLM_FUNC_DECL tvec2<typename genType::value_type, defaultp> noise2(genType const & x);
71
78 template <typename genType>
79 GLM_FUNC_DECL tvec3<typename genType::value_type, defaultp> noise3(genType const & x);
80
87 template <typename genType>
88 GLM_FUNC_DECL tvec4<typename genType::value_type, defaultp> noise4(genType const & x);
89
91 }//namespace glm
92
93 #include "func_noise.inl"
glm::noise4
GLM_FUNC_DECL tvec4< typename genType::value_type, defaultp > noise4(genType const &x)
Returns a 4D noise value based on the input value x.
type_vec3.hpp
OpenGL Mathematics (glm.g-truc.net)
glm::noise2
GLM_FUNC_DECL tvec2< typename genType::value_type, defaultp > noise2(genType const &x)
Returns a 2D noise value based on the input value x.
glm
Definition: _noise.hpp:40
type_vec2.hpp
OpenGL Mathematics (glm.g-truc.net)
setup.hpp
OpenGL Mathematics (glm.g-truc.net)
type_vec1.hpp
OpenGL Mathematics (glm.g-truc.net)
glm::noise1
GLM_FUNC_DECL genType::value_type noise1(genType const &x)
Returns a 1D noise value based on the input value x.
glm::noise3
GLM_FUNC_DECL tvec3< typename genType::value_type, defaultp > noise3(genType const &x)
Returns a 3D noise value based on the input value x.