aboutsummaryrefslogtreecommitdiff
path: root/examples/cube.obj
blob: c569712a181390703c0d18cb6df338777a07dcc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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