Skip to main content

obj

Function obj 

Source
pub fn obj<'a>(
    meshes: impl IntoIterator<Item = &'a Mesh>,
    mtl_name: &str,
) -> (String, String)
Expand description

The OBJ text of meshes, referring to mtl_name when any has a material, and the MTL text (empty when there are no materials).