Kerbal Space Program
1.12.4
|
Static Public Member Functions | |
static double | noise (double xin, double yin, double zin) |
static double | noise (Vector3d v3d) |
static double | noise (double octaves, double persistence, double frequency, double x, double y, double z) |
static double | noise (double octaves, double persistence, double frequency, Vector3d v3d) |
Properties | |
static int | seed [set] |
|
inlinestatic |
< Very nice and simple skew factor for 3D
< Very nice and simple unskew factor, too
< Unskew the cell origin back to (x,y,z) space
< The x,y,z distances from the cell origin
< For the 3D case, the simplex shape is a slightly irregular tetrahedron.
< Offsets for second corner in (x,y,z) coords
< Offsets for third corner in (x,y,z) coords
< Offsets for last corner in (x,y,z) coords
< Work out the hashed gradient indices of the four simplex corners
< Calculate the contribution from the four corners
|
inlinestatic |
|
inlinestatic |
< We have to keep track of the largest possible amplitude,
|
inlinestatic |
|
staticset |