40 #ifndef GLM_GTC_random 
   41 #define GLM_GTC_random 
   44 #include "../vec2.hpp" 
   45 #include "../vec3.hpp" 
   47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED)) 
   48 #       pragma message("GLM: GLM_GTC_random extension included") 
   62         template <
typename genType>
 
   72         template <
typename genType>
 
   75                 genType 
const & Deviation);
 
   98         GLM_FUNC_DECL detail::tvec2<T, defaultp> 
diskRand(
 
  105         template <
typename T>
 
  106         GLM_FUNC_DECL detail::tvec3<T, defaultp> 
ballRand(
 
  112 #include "random.inl" 
  114 #endif//GLM_GTC_random 
GLM_FUNC_DECL detail::tvec2< T, defaultp > circularRand(T const &Radius)
Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius...
GLM_FUNC_DECL detail::tvec3< T, defaultp > sphericalRand(T const &Radius)
Generate a random 3D vector which coordinates are regulary distributed on a sphere of a given radius...
GLM_FUNC_DECL genType gaussRand(genType const &Mean, genType const &Deviation)
Generate random numbers in the interval [Min, Max], according a gaussian distribution. 
GLM_FUNC_DECL detail::tvec3< T, defaultp > ballRand(T const &Radius)
Generate a random 3D vector which coordinates are regulary distributed within the volume of a ball of...
GLM_FUNC_DECL genType linearRand(genType const &Min, genType const &Max)
Generate random numbers in the interval [Min, Max], according a linear distribution. 
GLM_FUNC_DECL detail::tvec2< T, defaultp > diskRand(T const &Radius)
Generate a random 2D vector which coordinates are regulary distributed within the area of a disk of a...