Improve CUDA coverage to all GTC extensions. Fixed missing constructors #120
This commit is contained in:
@@ -59,7 +59,7 @@ namespace glm
|
||||
/// @tparam genType Value type. Currently supported: half (not recommanded), float or double scalars and vectors.
|
||||
/// @see gtc_random
|
||||
template <typename genType>
|
||||
genType linearRand(
|
||||
GLM_FUNC_DECL genType linearRand(
|
||||
genType const & Min,
|
||||
genType const & Max);
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace glm
|
||||
/// @param Deviation
|
||||
/// @see gtc_random
|
||||
template <typename genType>
|
||||
genType gaussRand(
|
||||
GLM_FUNC_DECL genType gaussRand(
|
||||
genType const & Mean,
|
||||
genType const & Deviation);
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace glm
|
||||
/// @param Radius
|
||||
/// @see gtc_random
|
||||
template <typename T>
|
||||
detail::tvec2<T, defaultp> circularRand(
|
||||
GLM_FUNC_DECL detail::tvec2<T, defaultp> circularRand(
|
||||
T const & Radius);
|
||||
|
||||
/// Generate a random 3D vector which coordinates are regulary distributed on a sphere of a given radius
|
||||
@@ -86,7 +86,7 @@ namespace glm
|
||||
/// @param Radius
|
||||
/// @see gtc_random
|
||||
template <typename T>
|
||||
detail::tvec3<T, defaultp> sphericalRand(
|
||||
GLM_FUNC_DECL detail::tvec3<T, defaultp> sphericalRand(
|
||||
T const & Radius);
|
||||
|
||||
/// Generate a random 2D vector which coordinates are regulary distributed within the area of a disk of a given radius
|
||||
@@ -94,7 +94,7 @@ namespace glm
|
||||
/// @param Radius
|
||||
/// @see gtc_random
|
||||
template <typename T>
|
||||
detail::tvec2<T, defaultp> diskRand(
|
||||
GLM_FUNC_DECL detail::tvec2<T, defaultp> diskRand(
|
||||
T const & Radius);
|
||||
|
||||
/// Generate a random 3D vector which coordinates are regulary distributed within the volume of a ball of a given radius
|
||||
@@ -102,7 +102,7 @@ namespace glm
|
||||
/// @param Radius
|
||||
/// @see gtc_random
|
||||
template <typename T>
|
||||
detail::tvec3<T, defaultp> ballRand(
|
||||
GLM_FUNC_DECL detail::tvec3<T, defaultp> ballRand(
|
||||
T const & Radius);
|
||||
|
||||
/// @}
|
||||
|
||||
Reference in New Issue
Block a user