From 5f0fce4191309e9526b7109a0d87c092ce6a4193 Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Thu, 18 Feb 2021 14:14:23 +0100 Subject: main --- umath/intersect.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 umath/intersect.c (limited to 'umath/intersect.c') diff --git a/umath/intersect.c b/umath/intersect.c new file mode 100644 index 0000000..2d21389 --- /dev/null +++ b/umath/intersect.c @@ -0,0 +1,7 @@ +#include + +int pt_rect (float p[], float a[], float b[]) { + if (p[0]>a[0] && p[0]a[1] && p[1]