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 Monday, 20 August 2018 12:53:12 UTC - d09d592abb9472f46ee5190ad20a15138164d242

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