aboutsummaryrefslogtreecommitdiff
path: root/examples/box.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/box.obj
downloadlibobj-d7bb559d490e6a5ece5dd9256a6f7c11f550b13d.tar.gz
libobj-d7bb559d490e6a5ece5dd9256a6f7c11f550b13d.tar.bz2
libobj-d7bb559d490e6a5ece5dd9256a6f7c11f550b13d.zip
standalone version release.
Diffstat (limited to 'examples/box.obj')
-rw-r--r--examples/box.obj30
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/box.obj b/examples/box.obj
new file mode 100644
index 0000000..bd72661
--- /dev/null
+++ b/examples/box.obj
@@ -0,0 +1,30 @@
+# Vertices: 8
+# Points: 0
+# Lines: 0
+# Faces: 6
+# Materials: 1
+
+o 1
+
+# Vertex list
+
+v -0.5 -0.5 0.5
+v -0.5 -0.5 -0.5
+v -0.5 0.5 -0.5
+v -0.5 0.5 0.5
+v 0.5 -0.5 0.5
+v 0.5 -0.5 -0.5
+v 0.5 0.5 -0.5
+v 0.5 0.5 0.5
+
+# Point/Line/Face list
+
+usemtl Default
+f 4 3 2 1
+f 2 6 5 1
+f 3 7 6 2
+f 8 7 3 4
+f 5 8 4 1
+f 6 7 8 5
+
+# End of file