mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-26 14:00:14 +00:00
Reformat
This commit is contained in:
1 parent
af1e9de474
commit
f38fcd03b0
24 files changed
+74
-95
No files matched your search
+2
-1
@@ -28,7 +28,8 @@ public class Sampler3D {
|
||||
}
|
||||
|
||||
public double sample(double x, double y, double z) {
|
||||
return interpolator.getNoise(x, y, z) + elevationInterpolator.getElevation(FloatingPointFunctions.round(x), FloatingPointFunctions.round(z));
|
||||
return interpolator.getNoise(x, y, z) + elevationInterpolator.getElevation(FloatingPointFunctions.round(x),
|
||||
FloatingPointFunctions.round(z));
|
||||
}
|
||||
|
||||
public double sample(int x, int y, int z) {
|
||||
|
||||
Reference in new issue
Block a user