Function mesh_loader::obj::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.