My custom made .obj file loader for javafx isn't properly importing the faces of the obj models correctly and i have no idea why.
ObjLoader: (also Ik this is ass, im a first year in college)
-see attached
What Im trying to load the obj file into: https://docs.oracle.com/javase/8/javafx/api/javafx/scene/shape/TriangleMesh.html
What it ends up looking like:
-see attached image
Obj File:
-see attached .obj file
Any help on why this is happening/how I should go about debugging this is greatly appreciated, if any more information is needed @ me.