global functions

# glm::ballRand(...)

## tvec3 glm::ballRand(T Radius)

*Documentation from code comments*

*Documentation from code comments*

Generate a random 3D vector which coordinates are regulary distributed within the volume of a ball of a given radius

**Parameters:**

Radius

**See also**: gtc_random

# glm::circularRand(...)

## tvec2 glm::circularRand(T Radius)

*Documentation from code comments*

*Documentation from code comments*

Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius

**Parameters:**

Radius

**See also**: gtc_random

# glm::diskRand(...)

## tvec2 glm::diskRand(T Radius)

*Documentation from code comments*

*Documentation from code comments*

Generate a random 2D vector which coordinates are regulary distributed within the area of a disk of a given radius

**Parameters:**

Radius

**See also**: gtc_random

# glm::gaussRand(...)

## genType glm::gaussRand(genType Mean, genType Deviation)

*Documentation from code comments*

*Documentation from code comments*

Generate random numbers in the interval [Min, Max], according a gaussian distribution

**Parameters:**

Mean

Deviation

**See also**: gtc_random

# glm::linearRand(...)

## genTYpe glm::linearRand(genTYpe Min, genTYpe Max)

*Documentation from code comments*

*Documentation from code comments*

Generate random numbers in the interval [Min, Max], according a linear distribution

**Parameters:**

Min

Max

**Type parameters:**

genType Value type. Currently supported: float or double scalars.

**See also**: gtc_random

# glm::linearRand(...)

## vecType glm::linearRand(const vecType &Min=P, const vecType &Max=P)

*Documentation from code comments*

*Documentation from code comments*

Generate random numbers in the interval [Min, Max], according a linear distribution

**Parameters:**

Min

Max

**Type parameters:**

T Value type. Currently supported: float or double.

vecType A vertor type: tvec1, tvec2, tvec3, tvec4 or compatible

**See also**: gtc_random

# glm::sphericalRand(...)

## tvec3 glm::sphericalRand(T Radius)

*Documentation from code comments*

*Documentation from code comments*

Generate a random 3D vector which coordinates are regulary distributed on a sphere of a given radius

**Parameters:**

Radius

**See also**: gtc_random

Last updated Sunday, 21 April 2019 12:07:27 UTC - 3faaf413985ca28c2563397ad24a986173c3f7bf

Hosting for openFrameworks is generously provided by Rackspace

If you have any doubt about the usage of this module you can ask in the forum.

If you want to contribute better documentation or start documenting this section you can do so here

If you find anything wrong with this docs you can report any error by opening an issue