Go to the source code of this file.
|
NOISE_DATATYPE | ClampedLerp (NOISE_DATATYPE a_Val1, NOISE_DATATYPE a_Val2, NOISE_DATATYPE a_Ratio) |
| Linearly interpolates between two values, clamping the ratio to [0, 1] first. More...
|
|
void | Debug2DNoise (const NOISE_DATATYPE *a_Array, size_t a_SizeX, size_t a_SizeY, const AString &a_FileNameBase, NOISE_DATATYPE a_Coeff=32) |
| Exports the noise array into a file. More...
|
|
void | Debug3DNoise (const NOISE_DATATYPE *a_Array, size_t a_SizeX, size_t a_SizeY, size_t a_SizeZ, const AString &a_FileNameBase, NOISE_DATATYPE a_Coeff=32) |
| Exports the noise array into a set of files, ordered by XY and XZ. More...
|
|
NOISE_DATATYPE | Lerp (NOISE_DATATYPE a_Val1, NOISE_DATATYPE a_Val2, NOISE_DATATYPE a_Ratio) |
| Linearly interpolates between two values. More...
|
|
◆ cPerlinNoise
◆ cRidgedMultiNoise
◆ NOISE_DATATYPE
The datatype used by all the noise generators.
Definition at line 9 of file Noise.h.
◆ ClampedLerp()
Linearly interpolates between two values, clamping the ratio to [0, 1] first.
Definition at line 334 of file Noise.h.
◆ Debug2DNoise()
Exports the noise array into a file.
a_Coeff specifies the value that each array value is multiplied by before being converted into a byte.
Definition at line 168 of file Noise.cpp.
◆ Debug3DNoise()
Exports the noise array into a set of files, ordered by XY and XZ.
a_Coeff specifies the value that each array value is multiplied by before being converted into a byte.
Definition at line 115 of file Noise.cpp.
◆ Lerp()
Linearly interpolates between two values.
Assumes that a_Ratio is in range [0, 1].
Definition at line 324 of file Noise.h.