# random.hpp Source File

gtc/random.hpp
Go to the documentation of this file.
#ifndef GLM_GTC_random
#define GLM_GTC_random GLM_VERSION
// Dependency:
#include "../glm.hpp"
#include "../gtc/half_float.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTC_random extension included")
#endif
namespace glm
{
template <typename genType>
genType linearRand(
genType const & Min,
genType const & Max);
template <typename genType>
genType gaussRand(
genType const & Mean,
genType const & Deviation);
template <typename T>
detail::tvec2<T> circularRand(
T const & Radius);
template <typename T>
detail::tvec3<T> sphericalRand(
T const & Radius);
template <typename T>
detail::tvec2<T> diskRand(
T const & Radius);
template <typename T>
GLM_FUNC_QUALIFIER detail::tvec3<T> ballRand(
T const & Radius);
}//namespace glm
#include "random.inl"
#endif//GLM_GTC_random