pub fn parse_mtl_file(path: &Path) -> HashMap<String, MtlMaterial>Expand description
Parses an MTL file from a filesystem path.
If the file does not exist or cannot be opened, a warning is printed to stderr
and an empty HashMap is returned. This allows OBJ import to proceed with
geometry only when the MTL file is missing.