From 8c7aaf6c0bd5f4fa2ae4d41c22454c3f7d4fe42a Mon Sep 17 00:00:00 2001 From: Desour Date: Tue, 25 Aug 2020 00:19:50 +0200 Subject: [PATCH] Fix a bug in deprecated vector.plane --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 18be0be..b2eaf2f 100644 --- a/init.lua +++ b/init.lua @@ -273,7 +273,7 @@ end --local areas = {} function funcs.plane(ps) -- sort positions and imagine the first one (A) as vector.zero - ps = vector.sort_positions(ps) + vector.sort_positions(ps) local pos = ps[1] local B = vector.subtract(ps[2], pos) local C = vector.subtract(ps[3], pos)