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