mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 00:15:35 +00:00
function -> sampler in various sampler templates
This commit is contained in:
parent
2a2db4bc52
commit
df8489c1af
@ -20,7 +20,7 @@ public class DomainWarpTemplate extends SamplerTemplate<DomainWarpedSampler> {
|
||||
@Value("warp")
|
||||
private @Meta NoiseSampler warp;
|
||||
|
||||
@Value("function")
|
||||
@Value("sampler")
|
||||
private @Meta NoiseSampler function;
|
||||
|
||||
@Value("amplitude")
|
||||
|
@ -28,7 +28,7 @@ public class KernelTemplate extends SamplerTemplate<KernelSampler> {
|
||||
@Default
|
||||
private @Meta double factor = 1;
|
||||
|
||||
@Value("function")
|
||||
@Value("sampler")
|
||||
private @Meta NoiseSampler function;
|
||||
|
||||
@Value("frequency")
|
||||
|
@ -33,6 +33,6 @@ public abstract class FractalTemplate<T extends FractalNoiseFunction> extends Sa
|
||||
@Default
|
||||
protected @Meta double weightedStrength = 0.0D;
|
||||
|
||||
@Value("function")
|
||||
@Value("sampler")
|
||||
protected @Meta NoiseSampler function;
|
||||
}
|
||||
|
@ -16,6 +16,6 @@ import com.dfsek.terra.api.noise.NoiseSampler;
|
||||
|
||||
|
||||
public abstract class NormalizerTemplate<T extends Normalizer> extends SamplerTemplate<T> {
|
||||
@Value("function")
|
||||
@Value("sampler")
|
||||
protected @Meta NoiseSampler function;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user