forked from minetest-mods/mesecons
		
	Remove tiny (+0.001) selection box oversize
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user