Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <Noise.h>
Public Member Functions | |
cNoise (const cNoise &a_Noise) | |
cNoise (int a_Seed) | |
NOISE_DATATYPE | CosineNoise1D (NOISE_DATATYPE a_X) const |
NOISE_DATATYPE | CubicNoise1D (NOISE_DATATYPE a_X) const |
NOISE_DATATYPE | CubicNoise2D (NOISE_DATATYPE a_X, NOISE_DATATYPE a_Y) const |
NOISE_DATATYPE | CubicNoise3D (NOISE_DATATYPE a_X, NOISE_DATATYPE a_Y, NOISE_DATATYPE a_Z) const |
int | GetSeed (void) const |
NOISE_DATATYPE | IntNoise1D (int a_X) const |
int | IntNoise1DInt (int a_X) const |
NOISE_DATATYPE | IntNoise2D (int a_X, int a_Y) const |
NOISE_DATATYPE | IntNoise2DInRange (int a_X, int a_Y, float a_Min, float a_Max) const |
int | IntNoise2DInt (int a_X, int a_Y) const |
NOISE_DATATYPE | IntNoise3D (int a_X, int a_Y, int a_Z) const |
NOISE_DATATYPE | IntNoise3D (Vector3i a_Pos) const |
int | IntNoise3DInt (int a_X, int a_Y, int a_Z) const |
int | IntNoise3DInt (Vector3i a_Pos) const |
NOISE_DATATYPE | LinearNoise1D (NOISE_DATATYPE a_X) const |
void | SetSeed (int a_Seed) |
NOISE_DATATYPE | SmoothNoise1D (int a_X) const |
Static Public Member Functions | |
static NOISE_DATATYPE | CosineInterpolate (NOISE_DATATYPE a_A, NOISE_DATATYPE a_B, NOISE_DATATYPE a_Pct) |
static NOISE_DATATYPE | CubicInterpolate (NOISE_DATATYPE a_A, NOISE_DATATYPE a_B, NOISE_DATATYPE a_C, NOISE_DATATYPE a_D, NOISE_DATATYPE a_Pct) |
static NOISE_DATATYPE | LinearInterpolate (NOISE_DATATYPE a_A, NOISE_DATATYPE a_B, NOISE_DATATYPE a_Pct) |
Private Attributes | |
int | m_Seed |
|
inlinestatic |
NOISE_DATATYPE cNoise::CosineNoise1D | ( | NOISE_DATATYPE | a_X | ) | const |
|
inlinestatic |
NOISE_DATATYPE cNoise::CubicNoise1D | ( | NOISE_DATATYPE | a_X | ) | const |
NOISE_DATATYPE cNoise::CubicNoise2D | ( | NOISE_DATATYPE | a_X, |
NOISE_DATATYPE | a_Y | ||
) | const |
NOISE_DATATYPE cNoise::CubicNoise3D | ( | NOISE_DATATYPE | a_X, |
NOISE_DATATYPE | a_Y, | ||
NOISE_DATATYPE | a_Z | ||
) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
NOISE_DATATYPE cNoise::LinearNoise1D | ( | NOISE_DATATYPE | a_X | ) | const |
NOISE_DATATYPE cNoise::SmoothNoise1D | ( | int | a_X | ) | const |