0.9.9 API documenation
Functions
GLM_GTX_functions

Functions

template<typename T >
GLM_FUNC_DECL T gauss (T x, T ExpectedValue, T StandardDeviation)
 
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)
 

Detailed Description

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

List of useful common functions.

Function Documentation

◆ gauss() [1/2]

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

1D gauss function

See also
GLM_GTC_epsilon

◆ gauss() [2/2]

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