diff options
author | quou <quou@disroot.org> | 2025-01-12 00:14:16 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-12 00:14:16 +1100 |
commit | db7e94765c972ef940bf431e541dda4d893efc40 (patch) | |
tree | 1d374bdc42cb4d90c3121cbf878d324936f271ad /model.cpp | |
parent | 306c6318a32a9af351daaa60d2cc082e45e30dd4 (diff) |
Diffstat (limited to 'model.cpp')
-rw-r--r-- | model.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -139,6 +139,8 @@ Asset* Model_Loader::load( pack_read(f, &vertex_count, 4); pack_read(f, &mesh.parent, 4); pack_read(f, &mesh.local, 64); + pack_read(f, &mesh.bound.min, 12); + pack_read(f, &mesh.bound.max, 12); pack_read(f, &verts[coff], vertex_count * vertex_size); pack_read(f, &indices[icoff], mesh.count * sizeof *indices); mesh.vbo_offset = vcoff; |