summaryrefslogtreecommitdiff
path: root/app/ico/objplane.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/ico/objplane.h')
-rw-r--r--app/ico/objplane.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/ico/objplane.h b/app/ico/objplane.h
new file mode 100644
index 000000000..ce5b4e0e4
--- /dev/null
+++ b/app/ico/objplane.h
@@ -0,0 +1,20 @@
+/* objplane.h - structure values for plane */
+
+{ "plane", "plane", /* long and short names */
+ "cube", /* long name of dual */
+ 4, 4, 1, /* number of vertices, edges, and faces */
+ { /* vertices (x,y,z) */
+ /* all points must be within radius 1 of the origin */
+#define T 1.0
+ { T, 0, 0 },
+ { -T, 0, 0 },
+ { 0, T, 0 },
+ { 0, -T, 0 },
+#undef T
+ },
+ { /* faces (numfaces + indexes into vertices) */
+ /* faces must be specified clockwise from the outside */
+ 4, 0, 2, 1, 3,
+ }
+}, /* leave a comma to separate from the next include file */
+/* end */