Position edits (#7)
* Moving annotations for vector classes and positions: `core_namespace.lua` -> `classes/vector.lua`. Rethinking position annotations * Replacing float positions with integer positions where required (voxel manipulator, node coordinates, etc.). Adding missing annotations to the position parameters of core methods * Fix position annotations in noises classes * remove alias `MapPosition2d` * Review fixes
This commit is contained in:
@@ -15,11 +15,11 @@
|
||||
ValueNoise = {}
|
||||
|
||||
--- Returns 2D noise value at `pos={x=,y=}`
|
||||
--- @param pos Position2d
|
||||
--- @param pos IntegerPosition2d
|
||||
--- @return number
|
||||
function ValueNoise:get_2d(pos) end
|
||||
|
||||
--- Returns 3D noise value at `pos={x=,y=,z=}`
|
||||
--- @param pos Position
|
||||
--- @param pos IntegerPosition
|
||||
--- @return number
|
||||
function ValueNoise:get_3d(pos) end
|
||||
|
||||
Reference in New Issue
Block a user