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 Friday, 04 January 2019 11:07:29 UTC - 02e4bdeee9fc29f88539b4e860c215150e7255a2

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