Fixed minor bug in NoiseBase & Vector4 (typo)
This commit is contained in:
@@ -17,8 +17,8 @@ NzNoiseBase::NzNoiseBase(int seed)
|
||||
|
||||
SetNewSeed(seed);
|
||||
|
||||
for(int i(0) ; i < 256 ; i++)
|
||||
perm[i] = i;
|
||||
for(int i(0) ; i < 512 ; i++)
|
||||
perm[i] = i & 255;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user