summaryrefslogtreecommitdiff
path: root/3dmath.h
diff options
context:
space:
mode:
authorMartin Stensgård <mastensg@ping.uio.no>2010-10-19 00:20:35 +0200
committerMartin Stensgård <mastensg@ping.uio.no>2010-10-19 00:20:35 +0200
commit7e071db6bee659dbd2b4261830f4e2f10bc8ba33 (patch)
treee49bfd229464f378113a2b5653e6e0c04de2826e /3dmath.h
parentdf6a25599abac84f0f736b3029024cdd500bc106 (diff)
Fail.
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);