Removed macros

This commit is contained in:
Christophe Riccio
2014-11-01 01:44:37 +01:00
parent 86eae996e4
commit 4b4b6f6cac
11 changed files with 218 additions and 427 deletions

View File

@@ -60,8 +60,8 @@ namespace glm
/// @see gtc_random
template <typename genTYpe>
GLM_FUNC_DECL genTYpe linearRand(
genTYpe const & Min,
genTYpe const & Max);
genTYpe Min,
genTYpe Max);
template <typename T, precision P, template <typename, precision> class vecType>
GLM_FUNC_DECL vecType<T, P> linearRand(
@@ -75,8 +75,8 @@ namespace glm
/// @see gtc_random
template <typename genType>
GLM_FUNC_DECL genType gaussRand(
genType const & Mean,
genType const & Deviation);
genType Mean,
genType Deviation);
/// Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius
///
@@ -84,7 +84,7 @@ namespace glm
/// @see gtc_random
template <typename T>
GLM_FUNC_DECL tvec2<T, defaultp> circularRand(
T const & Radius);
T Radius);
/// Generate a random 3D vector which coordinates are regulary distributed on a sphere of a given radius
///
@@ -92,7 +92,7 @@ namespace glm
/// @see gtc_random
template <typename T>
GLM_FUNC_DECL tvec3<T, defaultp> sphericalRand(
T const & Radius);
T Radius);
/// Generate a random 2D vector which coordinates are regulary distributed within the area of a disk of a given radius
///
@@ -100,7 +100,7 @@ namespace glm
/// @see gtc_random
template <typename T>
GLM_FUNC_DECL tvec2<T, defaultp> diskRand(
T const & Radius);
T Radius);
/// Generate a random 3D vector which coordinates are regulary distributed within the volume of a ball of a given radius
///
@@ -108,7 +108,7 @@ namespace glm
/// @see gtc_random
template <typename T>
GLM_FUNC_DECL tvec3<T, defaultp> ballRand(
T const & Radius);
T Radius);
/// @}
}//namespace glm