float *vertices;
u32 num_vertices;
+
+ // Bounding box
+ boxf bounds;
}
mdl_mesh_t;
return 0;
}
+ v3_copy( pMdl->hull_min, ctx->bounds[0] );
+ v3_copy( pMdl->hull_max, ctx->bounds[1] );
+
ctx->num_indices = vtx_count_indices( pVtxHdr );
// Allocate and read indices