mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-01 23:47:50 +00:00
Apply code style fixes
This commit is contained in:
parent
72f761678a
commit
c20b1eaf10
@ -26,7 +26,7 @@ public class FunctionUtil {
|
||||
functionMap.put(entry.getKey(), UserDefinedFunction.newInstance(entry.getValue()));
|
||||
}
|
||||
samplers.forEach((id, sampler) -> {
|
||||
if (sampler.getDimensions() == 2) {
|
||||
if(sampler.getDimensions() == 2) {
|
||||
functionMap.put(id, new NoiseFunction2(sampler.getSampler()));
|
||||
functionMap.put(id + "Salted", new SaltedNoiseFunction2(sampler.getSampler()));
|
||||
} else {
|
||||
|
@ -9,7 +9,7 @@ import com.dfsek.terra.api.noise.NoiseSampler;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
|
||||
public class SaltedNoiseFunction2 implements DynamicFunction {
|
||||
public class SaltedNoiseFunction2 implements DynamicFunction {
|
||||
private final NoiseSampler gen;
|
||||
|
||||
public SaltedNoiseFunction2(NoiseSampler gen) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user