Asset directory with CMake add_asset (extension dispatched), plain file asset access, resource/resource manager with async load thread and text loader, URI utilities, mesh format helpers, generated color header, and example game hooks wired through the engine. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
43 lines
682 B
Plaintext
43 lines
682 B
Plaintext
# Unit cube, centered on the origin, with per face normals and UVs.
|
|
o 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
|
|
|
|
vt 0.0 0.0
|
|
vt 1.0 0.0
|
|
vt 1.0 1.0
|
|
vt 0.0 1.0
|
|
|
|
vn 0.0 0.0 -1.0
|
|
vn 0.0 0.0 1.0
|
|
vn -1.0 0.0 0.0
|
|
vn 1.0 0.0 0.0
|
|
vn 0.0 -1.0 0.0
|
|
vn 0.0 1.0 0.0
|
|
|
|
# Back (-Z)
|
|
f 2/1/1 1/2/1 4/3/1
|
|
f 2/1/1 4/3/1 3/4/1
|
|
# Front (+Z)
|
|
f 5/1/2 6/2/2 7/3/2
|
|
f 5/1/2 7/3/2 8/4/2
|
|
# Left (-X)
|
|
f 1/1/3 5/2/3 8/3/3
|
|
f 1/1/3 8/3/3 4/4/3
|
|
# Right (+X)
|
|
f 6/1/4 2/2/4 3/3/4
|
|
f 6/1/4 3/3/4 7/4/4
|
|
# Bottom (-Y)
|
|
f 1/1/5 2/2/5 6/3/5
|
|
f 1/1/5 6/3/5 5/4/5
|
|
# Top (+Y)
|
|
f 8/1/6 7/2/6 3/3/6
|
|
f 8/1/6 3/3/6 4/4/6
|