GLM  0.9.5
Functions

Functions

template<typename T , precision P, template< typename, precision > class vecType>
perlin (vecType< T, P > const &p)
 
template<typename T , precision P, template< typename, precision > class vecType>
perlin (vecType< T, P > const &p, vecType< T, P > const &rep)
 
template<typename T , precision P, template< typename, precision > class vecType>
simplex (vecType< T, P > const &p)
 

Detailed Description

Defines 2D, 3D and 4D procedural noise functions Based on the work of Stefan Gustavson and Ashima Arts on "webgl-noise": https://github.com/ashima/webgl-noise Following Stefan Gustavson's paper "Simplex noise demystified": http://www.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf <glm/gtc/noise.hpp> need to be included to use these functionalities.

Function Documentation

T glm::perlin ( vecType< T, P > const &  p)

Classic perlin noise.

See Also
GLM_GTC_noise
T glm::perlin ( vecType< T, P > const &  p,
vecType< T, P > const &  rep 
)

Periodic perlin noise.

See Also
GLM_GTC_noise
T glm::simplex ( vecType< T, P > const &  p)

Simplex noise.

See Also
GLM_GTC_noise