tmf 0.2.1

TMF is a 3D model compression format achieving compression ratio of between 4.2 and 1.95, while being very fast to read and having no visual difference between compressed and uncompressed models.
Documentation
// Module not completed yet
#![allow(dead_code)]
use crate::IndexType;
#[derive(Clone)]
pub struct MaterialInfo {
    // Names of all materials in model
    materials: Box<[String]>,
    material_groups: Box<[(IndexType, IndexType)]>,
}
impl MaterialInfo {
    fn create<M: Into<Box<[String]>>, MB: Into<Box<[(IndexType, IndexType)]>>>(
        materials: M,
        material_groups: MB,
    ) -> Self {
        Self {
            materials: materials.into(),
            material_groups: material_groups.into(),
        }
    }
}