Pardon the tongue twister, but I'm trying to do what the title says in order to group an ordered vec of verticies([f32; 3]), into a vec of faces. I'm not sure how
to coerce .collect() into doing that. My current attempt at that is below.
use itertools::Itertools;
use glam::*;
pub fn main() {
let vertices = [([0.0, 1.0, 2.0]), ([3.0, 4.0, 5.0]), ([0.0, 1.0, 2.0]), ([0.0, 1.0, 2.0]), ([0.0, 1.0, 2.0]), ([0.0, 1.0, 2.0])];
let faces = slice.iter().collect::<Vec<[[f32; 3], 3]>>(); //<-- broken
}