mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 13:30:10 +00:00
Apply code style fixes
This commit is contained in:
1 parent
72f761678a
commit
c20b1eaf10
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user