mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-21 15:57:19 +00:00
more sensitive derivative stuff
This commit is contained in:
1 parent
67ff426894
commit
1c9c183d66
1 file changed
+1
-1
@@ -3,7 +3,7 @@ package com.dfsek.terra.math;
|
||||
import com.dfsek.terra.generation.Sampler;
|
||||
|
||||
public final class MathUtil {
|
||||
private static final double CONST = 1;
|
||||
private static final double CONST = 0.55;
|
||||
|
||||
public static double derivative(Sampler sampler, double x, double y, double z) {
|
||||
double baseSample = sampler.sample(x, y, z);
|
||||
|
||||
Reference in new issue
Block a user