summaryrefslogtreecommitdiff
path: root/model.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'model.cpp')
-rw-r--r--model.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/model.cpp b/model.cpp
index dac6538..9e78b19 100644
--- a/model.cpp
+++ b/model.cpp
@@ -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;