Function GenericMesh.fromObj

Build a generic mesh by reading a Wavefront OBJ file

static GenericMesh fromObj (
  std.stdio.File obj,
  string objectName = null
);

Parameters

NameDescription
obj OBJ file to read
objectName If null, the first object will be used, if a string, will import the mesh from the given object name