21 #ifndef __UT_NoiseBasis__
22 #define __UT_NoiseBasis__
43 template <UT_NoiseBasisMetric METRIC=UT_NoiseBasisMetric::Eucl
idean>
47 static void initNoise();
50 static void noise1D(
float pos,
UT_NoiseValue vals[],
int nvals);
75 int nvals,
const uint period[2])
76 { noise2D(pos, vals, nvals, period[0], period[1]); }
79 int nvals,
const uint period[3])
81 noise3D(pos, vals, nvals, period[0], period[1],
86 int nvals,
const uint period[4])
88 noise4D(pos, vals, nvals, period[0], period[1],
89 period[2], period[3]);
static void noise2D(const T pos[2], UT_NoiseValue vals[], int nvals, const uint period[2])
static void noise3D(const T pos[3], UT_NoiseValue vals[], int nvals, const uint period[3])
static void noise4D(const T pos[4], UT_NoiseValue vals[], int nvals, const uint period[4])