minecraft-renderObj
minecraft-renderObj copied to clipboard
Add a function to create an object
The function creates an object from an obj file. For example create_obj("file.obj"). The function can also be called without parameters (default values). It's very easy to take an obj file and create an object.
The code skips empty lines and multiple spaces. This fixes an error with files containing multiple spaces between the parameters, and, perhaps, provides a small optimization. This closes #1.