72 std::shared_ptr<LatticePoint3D> nextOnFailure {};
73 std::shared_ptr<LatticePoint3D> nextOnSuccess {};
93 static const int PSIZE = 2048;
94 static const int PMASK = 2047;
96 constexpr static const double N2 = 0.05481866495625118;
97 constexpr static const double N3 = 0.2781926117527186;
98 constexpr static const double N4 = 0.11127401889945551;
101 static Grad3 GRADIENTS_3D[PSIZE];
102 static Grad4 GRADIENTS_4D[PSIZE];
107 static unsigned char LOOKUP_4D_SIZE[256];
110 Grad2 permGrad2[PSIZE];
111 Grad3 permGrad3[PSIZE];
112 Grad4 permGrad4[PSIZE];
126 double noise3_BCC(
double xr,
double yr,
double zr);
134 double noise4_Base(
double xs,
double ys,
double zs,
double ws);
136 static int fastFloor(
double x);
138 static void initLatticePoints();
139 static void initGradients();
153 double noise2(
double x,
double y);
double noise3_XYBeforeZ(double x, double y, double z)
static Grad2 GRADIENTS_2D[PSIZE]
double noise2_Base(double xs, double ys)
double noise4_XZBeforeYW(double x, double y, double z, double w)
double noise3_BCC(double xr, double yr, double zr)
double noise2_XBeforeY(double x, double y)
double noise3_XZBeforeY(double x, double y, double z)
double noise3_Classic(double x, double y, double z)
double noise2(double x, double y)
double noise4_Classic(double x, double y, double z, double w)
double noise4_XYZBeforeW(double x, double y, double z, double w)
double noise4_Base(double xs, double ys, double zs, double ws)
double noise4_XYBeforeZW(double x, double y, double z, double w)