use const

This commit is contained in:
Quaternions 2025-01-31 09:12:51 -08:00
parent f6aacca82c
commit 4acef656e5

@ -114,7 +114,7 @@ pub fn convert(
panic!("Empty face!");
}
}
(0..polygon_groups_normal_id.len()).map(|polygon_group_id|{
(0..NORMAL_FACES).map(|polygon_group_id|{
model::IndexedGraphicsGroup{
render:RenderConfigId::new(0),
groups:vec![PolygonGroupId::new(polygon_group_id as u32)]