0.9.9 API documenation
|
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. More...
Functions | |
template<length_t L, typename T , qualifier P> | |
GLM_FUNC_DECL T | perlin (vec< L, T, P > const &p) |
Classic perlin noise. More... | |
template<length_t L, typename T , qualifier P> | |
GLM_FUNC_DECL T | perlin (vec< L, T, P > const &p, vec< L, T, P > const &rep) |
Periodic perlin noise. More... | |
template<length_t L, typename T , qualifier P> | |
GLM_FUNC_DECL T | simplex (vec< L, T, P > const &p) |
Simplex noise. More... | |
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.
GLM_FUNC_DECL T glm::perlin | ( | vec< L, T, P > const & | p | ) |
Classic perlin noise.
GLM_FUNC_DECL T glm::perlin | ( | vec< L, T, P > const & | p, |
vec< L, T, P > const & | rep | ||
) |
Periodic perlin noise.
GLM_FUNC_DECL T glm::simplex | ( | vec< L, T, P > const & | p | ) |
Simplex noise.