summaryrefslogtreecommitdiff
path: root/math_helper.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-12-09 21:56:43 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-12-09 21:56:43 +0100
commit4933a7c038087ae465e588fafb392a57d7f92b87 (patch)
tree8c8c6cfa5525c8d76346812b2fea612df7fde3fc /math_helper.c
parentac4b9bd1ce461ecd2d54b8dbed633658b0431f8b (diff)
gun angle
Diffstat (limited to 'math_helper.c')
-rw-r--r--math_helper.c3
1 files changed, 0 insertions, 3 deletions
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