mesh_loader::obj

Function from_slice

Source
pub fn from_slice<B: AsRef<[u8]>, F: FnMut(&Path) -> Result<B>>(
    bytes: &[u8],
    path: Option<&Path>,
    reader: F,
) -> Result<Scene>
Expand description

Parses meshes from bytes of Wavefront OBJ text.