PPerlin = AsyncPerlin
This commit is contained in:
parent
8b1d588b5e
commit
512b1884d8
@ -55,12 +55,13 @@ class Avaible_Noise_Funcs(Enum):
|
|||||||
DIRTYPERLIN = 5
|
DIRTYPERLIN = 5
|
||||||
SDE = 6
|
SDE = 6
|
||||||
SHORTPINK = 7
|
SHORTPINK = 7
|
||||||
PPERLIN = 8
|
ASYNCPERLIN = 8
|
||||||
RAYLEIGHPERLIN = 9
|
RAYLEIGHPERLIN = 9
|
||||||
|
|
||||||
|
|
||||||
def get_func(self):
|
def get_func(self):
|
||||||
# stil aaaaaaaa
|
# stil aaaaaaaa
|
||||||
return [noise.White_Noise, noise.Pink_Noise, noise.Colored_Noise, noise.Perlin_Noise, noise.Harmonic_Perlin_Noise, noise.Dirty_Perlin_Noise, noise.SDE_Noise, noise.shortPink_Noise, noise.P_Perlin_Noise, noise.Rayleigh_Perlin_Noise][self.value]
|
return [noise.White_Noise, noise.Pink_Noise, noise.Colored_Noise, noise.Perlin_Noise, noise.Harmonic_Perlin_Noise, noise.Dirty_Perlin_Noise, noise.SDE_Noise, noise.shortPink_Noise, noise.Async_Perlin_Noise, noise.Rayleigh_Perlin_Noise][self.value]
|
||||||
|
|
||||||
|
|
||||||
def cast_to_enum(inp, Class):
|
def cast_to_enum(inp, Class):
|
||||||
|
Loading…
Reference in New Issue
Block a user