| 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/qualifier.hpp"
19 #include "../detail/type_vec2.hpp"
20
21 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
22 # pragma message("GLM: GLM_GTX_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, qualifier Q>
43 GLM_FUNC_DECL T gauss(
44 vec<2, T, Q> const& Coord,
45 vec<2, T, Q> const& ExpectedValue,
46 vec<2, T, Q> const& StandardDeviation);
47
49 }//namespace glm
50
51 #include "functions.inl"
52
glm::gauss
GLM_FUNC_DECL T gauss(vec< 2, T, Q > const &Coord, vec< 2, T, Q > const &ExpectedValue, vec< 2, T, Q > const &StandardDeviation)
2D gauss function
glm
Definition: common.hpp:20