mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-06 15:56:27 +00:00
Cleanup
This commit is contained in:
@@ -29,6 +29,8 @@ import com.volmit.iris.util.noise.CNG;
|
||||
import java.util.HashMap;
|
||||
|
||||
public class IrisInterpolation {
|
||||
public static CNG cng = NoiseStyle.SIMPLEX.create(new RNG());
|
||||
|
||||
public static double bezier(double t) {
|
||||
return t * t * (3.0d - 2.0d * t);
|
||||
}
|
||||
@@ -278,8 +280,6 @@ public class IrisInterpolation {
|
||||
//@done
|
||||
}
|
||||
|
||||
public static CNG cng = NoiseStyle.SIMPLEX.create(new RNG());
|
||||
|
||||
public static double getBilinearNoise(int x, int z, double rad, NoiseProvider n) {
|
||||
int fx = (int) Math.floor(x / rad);
|
||||
int fz = (int) Math.floor(z / rad);
|
||||
|
||||
Reference in New Issue
Block a user