Added HybridMultiF 3D & 4D
*new constructors for simple noises *minor bufixes Former-commit-id: 2f1e9b6b54087e79b3ac52fefc9bbd67fd45c0eb
This commit is contained in:
@@ -20,6 +20,12 @@ NzSimplex2D::NzSimplex2D()
|
||||
UnskewCoeff2D = (3.0-sqrt(3.0))/6.;
|
||||
}
|
||||
|
||||
NzSimplex2D::NzSimplex2D(int seed) : NzSimplex2D()
|
||||
{
|
||||
this->SetNewSeed(seed);
|
||||
this->ShufflePermutationTable();
|
||||
}
|
||||
|
||||
float NzSimplex2D::GetValue(float x, float y, float resolution)
|
||||
{
|
||||
x *= resolution;
|
||||
|
||||
Reference in New Issue
Block a user