HE_Mesh
5.1.2
|
Public Member Functions | |
WB_OSNoise () | |
WB_OSNoise (final long seed) | |
void | setSeed (long seed) |
double | value1D (final double x) |
double | value2D (final double x, final double y) |
double | value3D (final double x, final double y, final double z) |
double | value4D (final double x, final double y, final double z, final double w) |
void | setScale (final double sx) |
void | setScale (final double sx, final double sy) |
void | setScale (final double sx, final double sy, final double sz) |
void | setScale (final double sx, final double sy, final double sz, final double sw) |
![]() | |
double | value1D (double x) |
double | value2D (double x, double y) |
double | value3D (double x, double y, double z) |
double | value4D (double x, double y, double z, double w) |
void | setScale (double sx) |
void | setScale (double sx, double sy) |
void | setScale (double sx, double sy, double sz) |
void | setScale (double sx, double sy, double sz, double sw) |
Private Member Functions | |
double | extrapolate (final int xsb, final int ysb, final double dx, final double dy) |
double | extrapolate (final int xsb, final int ysb, final int zsb, final double dx, final double dy, final double dz) |
double | extrapolate (final int xsb, final int ysb, final int zsb, final int wsb, final double dx, final double dy, final double dz, final double dw) |
Static Private Member Functions | |
static int | fastFloor (final double x) |
Private Attributes | |
short[] | perm |
short[] | permGradIndex3D |
double | sx |
Static Private Attributes | |
static final double | STRETCH_CONSTANT_2D = -0.211324865405187 |
static final double | SQUISH_CONSTANT_2D = 0.366025403784439 |
static final double | STRETCH_CONSTANT_3D = -1.0 / 6 |
static final double | SQUISH_CONSTANT_3D = 1.0 / 3 |
static final double | STRETCH_CONSTANT_4D = -0.138196601125011 |
static final double | SQUISH_CONSTANT_4D = 0.309016994374947 |
static final double | NORM_CONSTANT_2D = 47 |
static final double | NORM_CONSTANT_3D = 103 |
static final double | NORM_CONSTANT_4D = 30 |
static byte[] | gradients2D = new byte[] { 5, 2, 2, 5, -5, 2, -2, 5, 5, -2, 2, -5, -5, -2, -2, -5, } |
static byte[] | gradients3D |
static byte[] | gradients4D |
wblut.math.WB_OSNoise.WB_OSNoise | ( | ) |
wblut.math.WB_OSNoise.WB_OSNoise | ( | final long | seed | ) |
seed |
|
private |
xsb | |
ysb | |
dx | |
dy |
|
private |
xsb | |
ysb | |
zsb | |
dx | |
dy | |
dz |
|
private |
xsb | |
ysb | |
zsb | |
wsb | |
dx | |
dy | |
dz | |
dw |
|
staticprivate |
x |
void wblut.math.WB_OSNoise.setScale | ( | final double | sx | ) |
void wblut.math.WB_OSNoise.setScale | ( | final double | sx, |
final double | sy | ||
) |
void wblut.math.WB_OSNoise.setScale | ( | final double | sx, |
final double | sy, | ||
final double | sz | ||
) |
void wblut.math.WB_OSNoise.setScale | ( | final double | sx, |
final double | sy, | ||
final double | sz, | ||
final double | sw | ||
) |
void wblut.math.WB_OSNoise.setSeed | ( | long | seed | ) |
seed |
Implements wblut.math.WB_Noise.
double wblut.math.WB_OSNoise.value1D | ( | final double | x | ) |
double wblut.math.WB_OSNoise.value2D | ( | final double | x, |
final double | y | ||
) |
double wblut.math.WB_OSNoise.value3D | ( | final double | x, |
final double | y, | ||
final double | z | ||
) |
double wblut.math.WB_OSNoise.value4D | ( | final double | x, |
final double | y, | ||
final double | z, | ||
final double | w | ||
) |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |