Added HybridMultiF 3D & 4D
*new constructors for simple noises *minor bufixes Former-commit-id: 2f1e9b6b54087e79b3ac52fefc9bbd67fd45c0eb
This commit is contained in:
@@ -17,6 +17,12 @@ NzPerlin2D::NzPerlin2D()
|
||||
gradient2[i][j] = grad2Temp[i][j];
|
||||
}
|
||||
|
||||
NzPerlin2D::NzPerlin2D(int seed) : NzPerlin2D()
|
||||
{
|
||||
this->SetNewSeed(seed);
|
||||
this->ShufflePermutationTable();
|
||||
}
|
||||
|
||||
float NzPerlin2D::GetValue(float x, float y, float resolution)
|
||||
{
|
||||
x *= resolution;
|
||||
|
||||
Reference in New Issue
Block a user