fix stupid

This commit is contained in:
Quaternions 2025-02-05 11:57:05 -08:00
parent ff4ddfbe7f
commit cb12fd9338

@ -239,10 +239,11 @@ pub fn brush_to_mesh(bsp:&vbsp::Bsp,brush:&vbsp::Brush)->Result<model::Mesh,Brus
}).collect()
}).collect();
let polygon_groups=model::PolygonGroup::PolygonList(model::PolygonList::new(polygon_list));
let polygon_groups=vec![model::PolygonGroup::PolygonList(model::PolygonList::new(polygon_list))];
let physics_groups=vec![model::IndexedPhysicsGroup{
groups:vec![model::PolygonGroupId::new(0)],
}];
let graphics_groups=vec![];
Ok(mb.build(vec![polygon_groups],vec![],physics_groups))
Ok(mb.build(polygon_groups,graphics_groups,physics_groups))
}