summaryrefslogtreecommitdiff
path: root/src/blu_cat/gra/static_mesh.cpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2025-03-11 19:39:20 -0300
committerFrederico Linhares <fred@linhares.blue>2025-03-12 13:07:35 -0300
commitdaa767aa5ea95fa2386c5ecaff31bd5598c43700 (patch)
tree1d20ffed7dab51d2fd37d1001e2d8e23d62a83ae /src/blu_cat/gra/static_mesh.cpp
parentd08bd8ff81344e02649cc3bed02b95d895a66bcf (diff)
feat Add headers to skeletal mesh
Diffstat (limited to 'src/blu_cat/gra/static_mesh.cpp')
-rw-r--r--src/blu_cat/gra/static_mesh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blu_cat/gra/static_mesh.cpp b/src/blu_cat/gra/static_mesh.cpp
index b52d124..0b6088c 100644
--- a/src/blu_cat/gra/static_mesh.cpp
+++ b/src/blu_cat/gra/static_mesh.cpp
@@ -76,8 +76,8 @@ load_mesh(void *obj)
size_t total_file_size{
STATIC_MESH_HEADER_SIZE +
- header.num_vertexes * 8 * 4 +
- header.num_indexes * 4};
+ header.num_vertexes * 8 * SIZE_32_BIT +
+ header.num_indexes * SIZE_32_BIT};
if(total_file_size != input.size())
{