ajout des graines procédurales et des cinamatiques
This commit is contained in:
@@ -77,11 +77,11 @@ func create_sphere(sphere_radius : float, sphere_details : int) -> Array:
|
||||
|
||||
return sphere.get_mesh_arrays()
|
||||
|
||||
func generate_noise(seed = randi()) -> Noise:
|
||||
func generate_noise(rand_seed = randi()) -> Noise:
|
||||
var n := FastNoiseLite.new()
|
||||
n.noise_type = FastNoiseLite.TYPE_SIMPLEX_SMOOTH
|
||||
n.frequency = 1.0
|
||||
n.seed = seed
|
||||
n.seed = rand_seed
|
||||
return n
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user