switch permutation type to ubyte

This commit is contained in:
2024-09-09 04:11:26 +10:00
parent 493790bd64
commit b6085c8f1c
4 changed files with 8 additions and 8 deletions

View File

@ -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