mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-01 15:36:45 +00:00
fix offset breaking cellular noise
This commit is contained in:
parent
64876587ad
commit
eed81f7e5e
@ -10,8 +10,8 @@ public class OffsetNoiseGenerator implements NoiseGenerator {
|
||||
public OffsetNoiseGenerator(NoiseGenerator base, long seed) {
|
||||
this.base = base;
|
||||
RNG rng = new RNG(seed);
|
||||
ox = rng.nextDouble(Integer.MIN_VALUE, Integer.MAX_VALUE);
|
||||
oz = rng.nextDouble(Integer.MIN_VALUE, Integer.MAX_VALUE);
|
||||
ox = rng.nextDouble(Short.MIN_VALUE, Short.MAX_VALUE);
|
||||
oz = rng.nextDouble(Short.MIN_VALUE, Short.MAX_VALUE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user