|
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 | |
Protected Member Functions inherited from InfiniteArray | |
| 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. | |
Protected Attributes inherited from InfiniteArray | |
| unsigned int | o = 0 |
| Random offset. | |
Static Protected Attributes inherited from InfiniteArray | |
| 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. |