This commit is contained in:
Quaternions 2024-02-13 22:27:35 -08:00
parent 272ad40c44
commit fda5baf4b1

View File

@ -24,6 +24,8 @@ where
acquire_mesh_id(prop.model()); acquire_mesh_id(prop.model());
} }
//TODO: make the main map one single mesh with a bunch of different physics groups and graphics groups
//the generated MeshIds in here will collide with the Loader Mesh Ids //the generated MeshIds in here will collide with the Loader Mesh Ids
//but I can't think of a good workaround other than just remapping one later. //but I can't think of a good workaround other than just remapping one later.
let (meshes,models):(Vec<model::Mesh>,Vec<model::Model>)=bsp.models().enumerate().map(|(mesh_id,world_model)|{ let (meshes,models):(Vec<model::Mesh>,Vec<model::Model>)=bsp.models().enumerate().map(|(mesh_id,world_model)|{