This commit is contained in:
Quaternions 2024-02-13 05:40:48 -08:00
parent 0f3bd4420e
commit ed0dcdd051

View File

@ -207,8 +207,6 @@ impl FaceDescription{
}
}
}
//TODO: it's probably better to use a shared vertex buffer between all primitives and use indexed rendering instead of generating a unique vertex buffer for each primitive.
//implementation: put all roblox primitives into one model.groups <- this won't work but I forget why
pub fn generate_partial_unit_cube(face_descriptions:CubeFaceDescription)->Mesh{
let mut generated_pos=Vec::new();
let mut generated_tex=Vec::new();