Package com.ijurnove.cpu3d
Class ObjReader
java.lang.Object
com.ijurnove.cpu3d.ObjReader
ObjReader contains one method, read(), for converting an .obj file to a Mesh.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjReader
public ObjReader()
-
-
Method Details
-
read
Reads a given .obj file and returns aMeshof its triangles.- Parameters:
path- the path of the file to be read- Returns:
- a Mesh representing the object defined in the .obj file
-