mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 21:21:34 +00:00
switch permutation type to ubyte
This commit is contained in:
@ -20,7 +20,7 @@ public extension LayeredNoise where Generator: CoherentNoiseRandomInit {
|
||||
}
|
||||
|
||||
public extension LayeredNoise where Generator: CoherentNoiseTableInit {
|
||||
init(permutation table: [Int16], octaves: Int, frequency: Scalar, amplitude: Scalar = 1) {
|
||||
init(permutation table: [UInt8], octaves: Int, frequency: Scalar, amplitude: Scalar = 1) {
|
||||
self.octaves = octaves
|
||||
self.frequency = frequency
|
||||
self.amplitude = amplitude
|
||||
|
Reference in New Issue
Block a user