0.9.9 API documenation
Functions

Include <glm/gtc/noise.hpp> to use the features of this extension. More...

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T perlin (vec< L, T, Q > const &p)
 Classic perlin noise. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T perlin (vec< L, T, Q > const &p, vec< L, T, Q > const &rep)
 Periodic perlin noise. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T simplex (vec< L, T, Q > const &p)
 Simplex noise. More...
 

Detailed Description

Include <glm/gtc/noise.hpp> to use the features of this extension.

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

Function Documentation

GLM_FUNC_DECL T glm::perlin ( vec< L, T, Q > const &  p)

Classic perlin noise.

See also
GLM_GTC_noise
GLM_FUNC_DECL T glm::perlin ( vec< L, T, Q > const &  p,
vec< L, T, Q > const &  rep 
)

Periodic perlin noise.

See also
GLM_GTC_noise
GLM_FUNC_DECL T glm::simplex ( vec< L, T, Q > const &  p)

Simplex noise.

See also
GLM_GTC_noise