mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-22 16:17:44 +00:00
Fixes
This commit is contained in:
1 parent
ffecbb2298
commit
d67596117f
9 files changed
+2449
-13
No files matched your search
@@ -285,6 +285,7 @@ public class CNG
|
||||
{
|
||||
Iris.error("Failed to sample noise into array " + v.size() + " nodes");
|
||||
Iris.error("Noise Source: " + generator.getClass().getSimpleName());
|
||||
|
||||
}
|
||||
|
||||
return v.get(0);
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -4,16 +4,16 @@ import com.volmit.iris.util.RNG;
|
||||
|
||||
public class WhiteNoise implements NoiseGenerator
|
||||
{
|
||||
private final FastNoiseDouble n;
|
||||
private final FastNoise n;
|
||||
|
||||
public WhiteNoise(long seed)
|
||||
{
|
||||
n = new FastNoiseDouble(new RNG(seed).lmax());
|
||||
n = new FastNoise(new RNG(seed).imax());
|
||||
}
|
||||
|
||||
private double f(double m)
|
||||
{
|
||||
return m;
|
||||
return (m % 8192) * 1024;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user