aboutsummaryrefslogtreecommitdiff
path: root/examples/negcube.obj
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2020-04-12 23:53:26 +0000
committerrodri <rgl@antares-labs.eu>2020-04-12 23:53:26 +0000
commitd7bb559d490e6a5ece5dd9256a6f7c11f550b13d (patch)
tree598c64628722b85fe83da9d2c070d1aa0391e3d0 /examples/negcube.obj
downloadlibobj-d7bb559d490e6a5ece5dd9256a6f7c11f550b13d.tar.gz
libobj-d7bb559d490e6a5ece5dd9256a6f7c11f550b13d.tar.bz2
libobj-d7bb559d490e6a5ece5dd9256a6f7c11f550b13d.zip
standalone version release.
Diffstat (limited to 'examples/negcube.obj')
-rw-r--r--examples/negcube.obj33
1 files changed, 33 insertions, 0 deletions
diff --git a/examples/negcube.obj b/examples/negcube.obj
new file mode 100644
index 0000000..18109cd
--- /dev/null
+++ b/examples/negcube.obj
@@ -0,0 +1,33 @@
+# This is a cube with negative vertex reference numbers. Each element
+# references the vertices stored immediately above it in the file.
+# Note that vertices are not shared.
+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
+f -4 -3 -2 -1
+v 2.000000 2.000000 0.000000
+v 2.000000 0.000000 0.000000
+v 0.000000 0.000000 0.000000
+v 0.000000 2.000000 0.000000
+f -4 -3 -2 -1
+v 2.000000 2.000000 2.000000
+v 2.000000 0.000000 2.000000
+v 2.000000 0.000000 0.000000
+v 2.000000 2.000000 0.000000
+f -4 -3 -2 -1
+v 0.000000 2.000000 0.000000
+v 0.000000 2.000000 2.000000
+v 2.000000 2.000000 2.000000
+v 2.000000 2.000000 0.000000
+f -4 -3 -2 -1
+v 0.000000 2.000000 0.000000
+v 0.000000 0.000000 0.000000
+v 0.000000 0.000000 2.000000
+v 0.000000 2.000000 2.000000
+f -4 -3 -2 -1
+v 0.000000 0.000000 2.000000
+v 0.000000 0.000000 0.000000
+v 2.000000 0.000000 0.000000
+v 2.000000 0.000000 2.000000
+f -4 -3 -2 -1