aboutsummaryrefslogtreecommitdiff
path: root/res/pyramid.obj
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-05-12 19:11:40 +0200
committerCharles <sircharlesaze@gmail.com>2020-05-12 19:11:40 +0200
commit723c4602c6ec9b74e841501754e651ef359f6385 (patch)
treed6dd27c251871fb61e3fc99fe7a0a96438096f1d /res/pyramid.obj
parent7b214503608550dc2853b9e01526723f8c65baf3 (diff)
downloadscop-723c4602c6ec9b74e841501754e651ef359f6385.tar.gz
scop-723c4602c6ec9b74e841501754e651ef359f6385.tar.bz2
scop-723c4602c6ec9b74e841501754e651ef359f6385.zip
Added perspective matrix
Diffstat (limited to 'res/pyramid.obj')
-rw-r--r--res/pyramid.obj15
1 files changed, 15 insertions, 0 deletions
diff --git a/res/pyramid.obj b/res/pyramid.obj
new file mode 100644
index 0000000..16073df
--- /dev/null
+++ b/res/pyramid.obj
@@ -0,0 +1,15 @@
+# top
+v 0.0 1.0 0.0
+# base
+v 0.0 0.0 -1.0
+v -1.0 0.0 1.0
+v 1.0 0.0 1.0
+
+# base
+f 2 3 4
+
+# front
+f 1 3 4
+
+f 1 2 3
+f 1 3 4