0.9.8
Functions
GLM_GTC_functions

Functions

template<typename T >
GLM_FUNC_DECL T gauss (T x, T ExpectedValue, T StandardDeviation)
 
template<typename T , precision P>
GLM_FUNC_DECL T gauss (tvec2< T, P > const &Coord, tvec2< T, P > const &ExpectedValue, tvec2< T, P > const &StandardDeviation)
 

Detailed Description

List of useful common functions.

<glm/gtc/functions.hpp> need to be included to use these functionalities.

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 ( tvec2< T, P > const &  Coord,
tvec2< T, P > const &  ExpectedValue,
tvec2< T, P > const &  StandardDeviation 
)

2D gauss function

See also
GLM_GTC_epsilon