1
0
의 미러 https://github.com/minetest-mods/mesecons.git synced 2025-10-21 08:05:44 +02:00

Remove tiny (+0.001) selection box oversize

This commit is contained in:
number Zero
2018-08-27 00:17:35 +03:00
committed by sfan5
부모 9e6eac4285
커밋 a4f5ae5b89
4개의 변경된 파일12개의 추가작업 그리고 8개의 파일을 삭제

파일 보기

@@ -2,13 +2,14 @@ local screwdriver_exists = minetest.global_exists("screwdriver")
local tjunction_nodebox = {
type = "fixed",
-- ±0.001 is to prevent z-fighting
fixed = {{ -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 },
{ -3/32, -17/32, -16/32+0.001, 3/32, -13/32, -3/32},}
}
local tjunction_selectionbox = {
type = "fixed",
fixed = { -16/32-0.001, -16/32, -16/32, 16/32+0.001, -12/32, 7/32 },
fixed = { -16/32, -16/32, -16/32, 16/32, -12/32, 7/32 },
}
local tjunction_get_rules = function (node)