| 1.0.0 API documentation

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 #ifndef GLM_ENABLE_EXPERIMENTAL
22 # error "GLM: GLM_GTX_functions is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
23 #elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_functions extension included")
25 #endif
26
27 namespace glm
28 {
31
35 template<typename T>
36 GLM_FUNC_DECL T gauss(
37 T x,
38 T ExpectedValue,
39 T StandardDeviation);
40
44 template<typename T, qualifier Q>
45 GLM_FUNC_DECL T gauss(
46 vec<2, T, Q> const& Coord,
47 vec<2, T, Q> const& ExpectedValue,
48 vec<2, T, Q> const& StandardDeviation);
49
51 }//namespace glm
52
53 #include "functions.inl"
54
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