Interface NoiseGenerator
- All Known Implementing Classes:
DefaultNoiseGenerator,OpenSimplexDefaultNoiseGenerator,PerlinDefaultNoiseGenerator,PorkianDefaultNoiseGenerator,SimplexDefaultNoiseGenerator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Creates instances of
NoiseSource.- Author:
- DaPorkchop_
-
Method Summary
Modifier and TypeMethodDescriptionnet.daporkchop.lib.noise.NoiseSourcecreate(@NonNull net.daporkchop.lib.random.PRandom random)Creates a newNoiseSourceusing the givenPRandom.
-
Method Details
-
create
net.daporkchop.lib.noise.NoiseSource create(@NonNull @NonNull net.daporkchop.lib.random.PRandom random)Creates a newNoiseSourceusing the givenPRandom.- Parameters:
random- an instance ofPRandomto use for generating random numbers- Returns:
- a new
NoiseSource
-