Core 1.0
|
Procedural noise using Voronoi decomposition of space. More...
#include <noise.h>
Public Member Functions | |
VoroNoise () | |
Create Worley Noise. | |
double | Value (const Vector2 &) const |
Compute the noise at a given point. | |
Additional Inherited Members | |
![]() | |
InfiniteArray () | |
Constructor. | |
void | Square (const Vector2 &, int &, int &) const |
Compute the cubic cell coordinates. | |
void | Square (const Vector2 &, int &, int &, double &, double &) const |
Compute the local coordinates inside a cubic cell. | |
void | Square (const Vector &, int &, int &, int &) const |
Compute the cubic cell coordinates. | |
void | Square (const Vector &, int &, int &, int &, double &, double &, double &) const |
Compute the local coordinates inside a cubic cell. | |
Vector2 | CellVertex (int, int) const |
Compute a random point in a cell. | |
Vector | CellVertex (int, int, int) const |
Compute point in a cell. | |
![]() | |
unsigned int | o = 0 |
Random offset. | |
![]() | |
static RandomFast | random |
Fast random number generator. | |
Procedural noise using Voronoi decomposition of space.
double VoroNoise::Value | ( | const Vector2 & | p | ) | const |
Compute the noise at a given point.
p | Point. |