mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-02 07:56:48 +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) {
|
public OffsetNoiseGenerator(NoiseGenerator base, long seed) {
|
||||||
this.base = base;
|
this.base = base;
|
||||||
RNG rng = new RNG(seed);
|
RNG rng = new RNG(seed);
|
||||||
ox = rng.nextDouble(Integer.MIN_VALUE, Integer.MAX_VALUE);
|
ox = rng.nextDouble(Short.MIN_VALUE, Short.MAX_VALUE);
|
||||||
oz = rng.nextDouble(Integer.MIN_VALUE, Integer.MAX_VALUE);
|
oz = rng.nextDouble(Short.MIN_VALUE, Short.MAX_VALUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user