Skip to main content

gltforge_unity_export/
submesh_data.rs

1/// A single sub-mesh triangle list in Unity's left-handed coordinate system.
2/// Indices are stored as `u32` regardless of the source format; the build step
3/// selects the output component type based on the parent mesh's total vertex count.
4pub struct SubmeshData {
5    /// Triangle indices in Unity's left-handed winding order.
6    /// Winding is reversed to right-handed during the build step.
7    pub indices: Vec<u32>,
8}