From 4933a7c038087ae465e588fafb392a57d7f92b87 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Fri, 9 Dec 2022 21:56:43 +0100 Subject: gun angle --- math_helper.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'math_helper.c') diff --git a/math_helper.c b/math_helper.c index 9ae2c9e..782599d 100644 --- a/math_helper.c +++ b/math_helper.c @@ -50,9 +50,6 @@ bool lines_intersect(vec2f p1, vec2f q1, vec2f p2, vec2f q2) vec2f bdir = get_dir_of_line(p1, q1); vec2f pdir = get_dir_of_line(p1, p2); if ((neg2(bdir.x, pdir.x) || pos2(bdir.x, pdir.x)) && (neg2(bdir.y, pdir.y) || pos2(bdir.y, pdir.y))) return true; // going down - //return true; - - //return false; } // Special Cases -- cgit v1.2.3-70-g09d2