Noises: change vectors to Positions. Close #5

This commit is contained in:
Van
2025-10-06 20:04:41 +03:00
parent 4b0bfbb2b2
commit 2ff614077c
3 changed files with 12 additions and 12 deletions

View File

@@ -38,8 +38,8 @@ local NoiseParams = {
--- `spread` is a vector with values for x, y, z to allow the noise variation to be
--- stretched or compressed in the desired axes.
--- Values are positive numbers.
--- @type vector|{x:number,y:number,z:number}
spread = vector.new(1,1,1),
--- @type Position
spread = {x=1,y=1,z=1},
--- This is a whole number that determines the entire pattern of the noise
--- variation. Altering it enables different noise patterns to be created.