summaryrefslogtreecommitdiff
path: root/3dmath.h
diff options
context:
space:
mode:
Diffstat (limited to '3dmath.h')
-rw-r--r--3dmath.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/3dmath.h b/3dmath.h
new file mode 100644
index 0000000..6714da5
--- /dev/null
+++ b/3dmath.h
@@ -0,0 +1,3 @@
+float dot(float x[3], float y[3]);
+void normalize(float x[3]);
+float sphere_intersect(float s[3], float d[3], float c[3], float r);