summaryrefslogtreecommitdiff
path: root/mesecons_extrawires/corner.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_extrawires/corner.lua')
-rw-r--r--mesecons_extrawires/corner.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesecons_extrawires/corner.lua b/mesecons_extrawires/corner.lua
index d0b01f9..d33447a 100644
--- a/mesecons_extrawires/corner.lua
+++ b/mesecons_extrawires/corner.lua
@@ -2,13 +2,14 @@ local screwdriver_exists = minetest.global_exists("screwdriver")
local corner_nodebox = {
type = "fixed",
+ -- ±0.001 is to prevent z-fighting
fixed = {{ -16/32-0.001, -17/32, -3/32, 0, -13/32, 3/32 },
{ -3/32, -17/32, -16/32+0.001, 3/32, -13/32, 3/32}}
}
local corner_selectionbox = {
type = "fixed",
- fixed = { -16/32-0.001, -18/32, -16/32, 5/32, -12/32, 5/32 },
+ fixed = { -16/32, -16/32, -16/32, 5/32, -12/32, 5/32 },
}
local corner_get_rules = function (node)