summaryrefslogtreecommitdiff
path: root/libobj/examples/cube.obj
diff options
context:
space:
mode:
authorrgl <devnull@localhost>2020-02-03 22:42:28 +0100
committerrgl <devnull@localhost>2020-02-03 22:42:28 +0100
commit0373255087377122eeb10e006ffb8aa1b57e611c (patch)
tree33a4fafa4996fc2efa205b2973622c3fbd27f368 /libobj/examples/cube.obj
download3dee-0373255087377122eeb10e006ffb8aa1b57e611c.tar.gz
3dee-0373255087377122eeb10e006ffb8aa1b57e611c.tar.bz2
3dee-0373255087377122eeb10e006ffb8aa1b57e611c.zip
after a year or so of work, i dare create a proper repo.
Diffstat (limited to 'libobj/examples/cube.obj')
-rw-r--r--libobj/examples/cube.obj16
1 files changed, 16 insertions, 0 deletions
diff --git a/libobj/examples/cube.obj b/libobj/examples/cube.obj
new file mode 100644
index 0000000..c569712
--- /dev/null
+++ b/libobj/examples/cube.obj
@@ -0,0 +1,16 @@
+# This is a cube that measures two units on each side. Each vertex is
+# shared by three different faces.
+v 0.000000 2.000000 2.000000
+v 0.000000 0.000000 2.000000
+v 2.000000 0.000000 2.000000
+v 2.000000 2.000000 2.000000
+v 0.000000 2.000000 0.000000
+v 0.000000 0.000000 0.000000
+v 2.000000 0.000000 0.000000
+v 2.000000 2.000000 0.000000
+f 1 2 3 4
+f 8 7 6 5
+f 4 3 7 8
+f 5 1 4 8
+f 5 6 2 1
+f 2 6 7 3