pub trait IntoFaceList {
// Required method
fn into_face_list(self) -> Vec<Vec<u32>>;
}Expand description
Trait for face data that can be converted to the internal polygon format.
Implemented for:
Vec<UVec3>— triangle-only meshesVec<[u32; 3]>— triangle-only meshes (array form)Vec<Vec<u32>>— arbitrary polygon meshes (triangles, quads, pentagons, etc.)
Required Methods§
Sourcefn into_face_list(self) -> Vec<Vec<u32>>
fn into_face_list(self) -> Vec<Vec<u32>>
Converts to the internal polygon face representation.