43 #include "../vec2.hpp" 44 #include "../vec3.hpp" 46 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED)) 47 # pragma message("GLM: GLM_GTC_random extension included") 61 template <
typename genTYpe>
66 template <
typename T, precision P,
template <
typename, precision>
class vecType>
68 vecType<T, P>
const & Min,
69 vecType<T, P>
const & Max);
76 template <
typename genType>
79 genType
const & Deviation);
101 template <
typename T>
109 template <
typename T>
116 #include "random.inl" GLM_FUNC_DECL detail::tvec3< T, defaultp > ballRand(T const &Radius)
GLM_FUNC_DECL detail::tvec2< T, defaultp > circularRand(T const &Radius)
GLM_FUNC_DECL detail::tvec3< T, defaultp > sphericalRand(T const &Radius)
GLM_FUNC_DECL genType gaussRand(genType const &Mean, genType const &Deviation)
GLM_FUNC_DECL detail::tvec2< T, defaultp > diskRand(T const &Radius)
GLM_FUNC_DECL genTYpe linearRand(genTYpe const &Min, genTYpe const &Max)