mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
more sensitive derivative stuff
This commit is contained in:
@@ -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