0.9.9 API documenation: functions.hpp Source File

| 0.9.9 API documenation

- Main Page
- Modules
- Files

- File List

functions.hpp
Go to the documentation of this file.
1
14 #pragma once
15
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/precision.hpp"
19 #include "../detail/type_vec2.hpp"
20
21 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
22 # pragma message("GLM: GLM_GTC_functions extension included")
23 #endif
24
25 namespace glm
26 {
29
33 template <typename T>
34 GLM_FUNC_DECL T gauss(
35 T x,
36 T ExpectedValue,
37 T StandardDeviation);
38
42 template <typename T, precision P>
43 GLM_FUNC_DECL T gauss(
44 tvec2<T, P> const& Coord,
45 tvec2<T, P> const& ExpectedValue,
46 tvec2<T, P> const& StandardDeviation);
47
49 }//namespace glm
50
51 #include "functions.inl"
52
glm::gauss
GLM_FUNC_DECL T gauss(tvec2< T, P > const &Coord, tvec2< T, P > const &ExpectedValue, tvec2< T, P > const &StandardDeviation)
2D gauss function
glm
Definition: _noise.hpp:11