0.9.9 API documentation
Functions
GLM_GTX_functions

Include <glm/gtx/functions.hpp> to use the features of this extension. More...

Functions

template<typename T >
GLM_FUNC_DECL T gauss (T x, T ExpectedValue, T StandardDeviation)
 1D gauss function More...
 
template<typename T , qualifier Q>
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 More...
 

Detailed Description

Include <glm/gtx/functions.hpp> to use the features of this extension.

List of useful common functions.

Function Documentation

GLM_FUNC_DECL T glm::gauss ( x,
ExpectedValue,
StandardDeviation 
)

1D gauss function

See also
GLM_GTC_epsilon
GLM_FUNC_DECL T glm::gauss ( vec< 2, T, Q > const &  Coord,
vec< 2, T, Q > const &  ExpectedValue,
vec< 2, T, Q > const &  StandardDeviation 
)

2D gauss function

See also
GLM_GTC_epsilon