Back to Mame

0.9.8: GLM_GTC_noise

3rdparty/glm/doc/api/a00170.html

latest2.2 KB
Original Source

| | 0.9.8 |

Functions

GLM_GTC_noise GTC Extensions (Stable)

|

Functions

| | template<typename T , precision P, template< typename, precision > class vecType> | | GLM_FUNC_DECL T | perlin (vecType< T, P > const &p) | | | | template<typename T , precision P, template< typename, precision > class vecType> | | GLM_FUNC_DECL T | perlin (vecType< T, P > const &p, vecType< T, P > const &rep) | | | | template<typename T , precision P, template< typename, precision > class vecType> | | GLM_FUNC_DECL T | 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

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

Classic perlin noise.

See alsoGLM_GTC_noise

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

Periodic perlin noise.

See alsoGLM_GTC_noise

| GLM_FUNC_DECL T glm::simplex | ( | vecType< T, P > const & | p | ) | |

Simplex noise.

See alsoGLM_GTC_noise


Generated by 1.8.10