MapGen: Dungeons: corrected walls calc/finding. Relates to lord-server/lord#1140, lord-server/lord#1141

This commit is contained in:
alek13
2023-12-14 02:04:39 +03:00
parent 13a02e4341
commit 2b3791de71

View File

@@ -36,7 +36,8 @@ PseudoRandom = {}
--- @field x number --- @field x number
--- @field y number --- @field y number
--- @field z number --- @field z number
Position = {x,y,z}
--- @class vector: Position
--- @class pointed_thing --- @class pointed_thing
--- @field public type string one of {"nothing"|"node"|"object"} --- @field public type string one of {"nothing"|"node"|"object"}
@@ -47,7 +48,7 @@ Position = {x,y,z}
--- @field public box_id number The ID of the pointed selection box (counting starts from 1) --- @field public box_id number The ID of the pointed selection box (counting starts from 1)
--- @field public intersection_normal Position Unit vector, points outwards of the selected selection box. This specifies which face is pointed at. Is a null vector `vector.zero()` when the pointer is inside the selection box. --- @field public intersection_normal Position Unit vector, points outwards of the selected selection box. This specifies which face is pointed at. Is a null vector `vector.zero()` when the pointer is inside the selection box.
--- ---
pointed_thing = {}
-- --
-- `minetest.` / `core.` functions -- `minetest.` / `core.` functions