1.0.0 API documentation
Loading...
Searching...
No Matches
functions.hpp
Go to the documentation of this file.
1
13
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
27namespace 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_FUNC_DECL T gauss(T x, T ExpectedValue, T StandardDeviation)
1D gauss function