aboutsummaryrefslogtreecommitdiff
path: root/umath/intersect.h
diff options
context:
space:
mode:
authorjacopo grandi <jak.sk8@hotmail.it>2021-02-18 14:14:23 +0100
committerjacopo grandi <jak.sk8@hotmail.it>2021-02-18 14:14:23 +0100
commit5f0fce4191309e9526b7109a0d87c092ce6a4193 (patch)
tree105257f876551814aa74a0760ec116bd1bf307a5 /umath/intersect.h
parentead78d51e662057467b79d3a65b20c4ba83cbf07 (diff)
main
Diffstat (limited to 'umath/intersect.h')
-rw-r--r--umath/intersect.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/umath/intersect.h b/umath/intersect.h
new file mode 100644
index 0000000..d3e24ec
--- /dev/null
+++ b/umath/intersect.h
@@ -0,0 +1,7 @@
+#ifndef INTERSECT_H
+#define INTERSECT_H
+
+// rect is [a, b] = [pos, size]
+int pt_rect (float p[], float a[], float b[]);
+
+#endif \ No newline at end of file