loadFromFile method
Parses a Wavefront OBJ file from the given objFilePath.
Implementation
Future<List<Face3D>> loadFromFile(Uri objFilePath) async {
assert(
!objFilePath.path.endsWith('.mtl'),
"The filename name must not end with '.mtl'. Use filename with obj extension: ${objFilePath.path.replaceAll(".mtl", ".obj")}",
);
return parseFromFileUri(this, objFilePath);
}