From 95269b33629045479e4880f9cc84a8ded4078ce2 Mon Sep 17 00:00:00 2001 From: Sheepolution Date: Tue, 19 Oct 2021 03:04:55 +0200 Subject: [PATCH] Fix parameter/argument name mismatch --- intersect.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/intersect.lua b/intersect.lua index 48c09d1..18b3a3c 100644 --- a/intersect.lua +++ b/intersect.lua @@ -449,18 +449,18 @@ function intersect.point_aabb_overlap(a, b_pos, b_hs) end function intersect.point_aabb_collide(a, b_pos, b_hs, into) - return intersect.reverse_msv(intersect.aabb_point_collide(b_pos, b_rad, a, into)) + return intersect.reverse_msv(intersect.aabb_point_collide(b_pos, b_hs, a, into)) end function intersect.circle_aabb_overlap(a, a_rad, b_pos, b_hs) - return intersect.aabb_circle_overlap(b_pos, b_rad, a, a_rad) + return intersect.aabb_circle_overlap(b_pos, b_pos, a, a_rad) end function intersect.circle_aabb_collide(a, a_rad, b_pos, b_hs, into) - return intersect.reverse_msv(intersect.aabb_circle_collide(b_pos, b_rad, a, a_rad, into)) + return intersect.reverse_msv(intersect.aabb_circle_collide(b_pos, b_pos, a, a_rad, into)) end -function intersect.circle_line_collide(a, a_rad, b_start, b_end, b_rad) +function intersect.circle_line_collide(a, a_rad, b_start, b_end, b_rad, into) return intersect.reverse_msv(intersect.line_circle_collide(b_start, b_end, b_rad, a, a_rad, into)) end