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