mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
0da6f671d0
* assimp.org * build shared * -std=c++11 * -static-libstdc++ * modified: projects/assimp.org/package.yml new file: projects/assimp.org/test.cpp new file: projects/assimp.org/test.obj
28 lines
No EOL
466 B
Text
28 lines
No EOL
466 B
Text
# WaveFront .obj file - a single square based pyramid
|
|
|
|
# Start a new group:
|
|
g MySquareBasedPyramid
|
|
|
|
# List of vertices:
|
|
# Front left
|
|
v -0.5 0 0.5
|
|
# Front right
|
|
v 0.5 0 0.5
|
|
# Back right
|
|
v 0.5 0 -0.5
|
|
# Back left
|
|
v -0.5 0 -0.5
|
|
# Top point (top of pyramid).
|
|
v 0 1 0
|
|
|
|
# List of faces:
|
|
# Square base (note: normals are placed anti-clockwise).
|
|
f 4 3 2 1
|
|
# Triangle on front
|
|
f 1 2 5
|
|
# Triangle on back
|
|
f 3 4 5
|
|
# Triangle on left side
|
|
f 4 1 5
|
|
# Triangle on right side
|
|
f 2 3 5 |