A simple loader for Wavefront .obj files
Loading directly into a vertex buffer can be done through loadOBJasVertexBuffer
.
val vertexBuffer = loadOBJasVertexBuffer("data/someObject.obj")
The loaded vertex buffer can be drawn like this:
drawer.vertexBuffer(vertexBuffer, DrawPrimitive.TRIANGLES)