GLM
0.9.5
|
Functions | |
template<typename T , precision P, template< typename, precision > class vecType> | |
T | perlin (vecType< T, P > const &p) |
template<typename T , precision P, template< typename, precision > class vecType> | |
T | perlin (vecType< T, P > const &p, vecType< T, P > const &rep) |
template<typename T , precision P, template< typename, precision > class vecType> | |
T | simplex (vecType< T, P > const &p) |
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.
T glm::perlin | ( | vecType< T, P > const & | p | ) |
Classic perlin noise.
T glm::perlin | ( | vecType< T, P > const & | p, |
vecType< T, P > const & | rep | ||
) |
Periodic perlin noise.
T glm::simplex | ( | vecType< T, P > const & | p | ) |
Simplex noise.