summaryrefslogtreecommitdiff
path: root/progs/demos/shadow.h
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/shadow.h')
-rw-r--r--progs/demos/shadow.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/progs/demos/shadow.h b/progs/demos/shadow.h
new file mode 100644
index 0000000000..b19dd43484
--- /dev/null
+++ b/progs/demos/shadow.h
@@ -0,0 +1,18 @@
+#ifndef SHADOW_H
+#define SHADOW_H
+
+
+extern void
+shadowmatrix(GLfloat shadowMat[4][4],
+ GLfloat groundplane[4],
+ GLfloat lightpos[4]);
+
+
+extern void
+findplane(GLfloat plane[4],
+ GLfloat v0[3], GLfloat v1[3], GLfloat v2[3]);
+
+
+#endif
+
+