raylib/examples/core/resources/models/unit_cube.obj

27 lines
456 B
Text

o unit_cube
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
#comment these out to compare opengl11 planar auto fill with just using this and opengl33
vt 0.0 0.0
vt 1.0 0.0
vt 1.0 1.0
vt 0.0 1.0
s off
f 1/1 4/4 3/3
f 1/1 3/3 2/2
f 5/1 6/2 7/3
f 5/1 7/3 8/4
f 1/1 5/1 8/4
f 1/1 8/4 4/4
f 2/2 3/3 7/3
f 2/2 7/3 6/2
f 4/4 8/4 7/3
f 4/4 7/3 3/3
f 1/1 2/2 6/2
f 1/1 6/2 5/1