mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-02 04:37:54 +08:00
spelling: regularly
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -52,25 +52,25 @@ namespace glm
|
|||||||
template<typename genType>
|
template<typename genType>
|
||||||
GLM_FUNC_DECL genType gaussRand(genType Mean, genType Deviation);
|
GLM_FUNC_DECL genType gaussRand(genType Mean, genType Deviation);
|
||||||
|
|
||||||
/// Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius
|
/// Generate a random 2D vector which coordinates are regularly distributed on a circle of a given radius
|
||||||
///
|
///
|
||||||
/// @see gtc_random
|
/// @see gtc_random
|
||||||
template<typename T>
|
template<typename T>
|
||||||
GLM_FUNC_DECL vec<2, T, defaultp> circularRand(T Radius);
|
GLM_FUNC_DECL vec<2, T, defaultp> circularRand(T Radius);
|
||||||
|
|
||||||
/// Generate a random 3D vector which coordinates are regulary distributed on a sphere of a given radius
|
/// Generate a random 3D vector which coordinates are regularly distributed on a sphere of a given radius
|
||||||
///
|
///
|
||||||
/// @see gtc_random
|
/// @see gtc_random
|
||||||
template<typename T>
|
template<typename T>
|
||||||
GLM_FUNC_DECL vec<3, T, defaultp> sphericalRand(T Radius);
|
GLM_FUNC_DECL vec<3, T, defaultp> sphericalRand(T Radius);
|
||||||
|
|
||||||
/// Generate a random 2D vector which coordinates are regulary distributed within the area of a disk of a given radius
|
/// Generate a random 2D vector which coordinates are regularly distributed within the area of a disk of a given radius
|
||||||
///
|
///
|
||||||
/// @see gtc_random
|
/// @see gtc_random
|
||||||
template<typename T>
|
template<typename T>
|
||||||
GLM_FUNC_DECL vec<2, T, defaultp> diskRand(T Radius);
|
GLM_FUNC_DECL vec<2, T, defaultp> diskRand(T Radius);
|
||||||
|
|
||||||
/// Generate a random 3D vector which coordinates are regulary distributed within the volume of a ball of a given radius
|
/// Generate a random 3D vector which coordinates are regularly distributed within the volume of a ball of a given radius
|
||||||
///
|
///
|
||||||
/// @see gtc_random
|
/// @see gtc_random
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
|||||||
Reference in New Issue
Block a user