|
|
@ -66,10 +66,10 @@ namespace glm |
|
|
|
|
|
|
|
|
|
|
|
/// Generate random numbers in the interval [Min, Max], according a gaussian distribution
|
|
|
|
/// Generate random numbers in the interval [Min, Max], according a gaussian distribution
|
|
|
|
/// (From GLM_GTX_random extension)
|
|
|
|
/// (From GLM_GTX_random extension)
|
|
|
|
template <typename T, template <typename> class vecType>
|
|
|
|
template <typename genType> |
|
|
|
vecType<T> gaussRand( |
|
|
|
genType gaussRand( |
|
|
|
vecType<T> const & Mean,
|
|
|
|
genType const & Mean,
|
|
|
|
vecType<T> const & Deviation); |
|
|
|
genType const & Deviation); |
|
|
|
|
|
|
|
|
|
|
|
/// Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius
|
|
|
|
/// Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius
|
|
|
|
/// (From GLM_GTX_random extension)
|
|
|
|
/// (From GLM_GTX_random extension)
|
|
|
|