Closed andburn closed 8 years ago
Updated:
Vec4
rgba aliases (not used)Updated:
vecX_str
methods static (I think they fit better inside the OBJMesh
class, as they are specific to the OBJ format).MeshData
class to hold vertex and index info, moved top-level methods into it too.I think they fit better inside the OBJMesh class, as they are specific to the OBJ format
I wouldn't disagree if these were generic vectors but... just call them OBJVector2, OBJVector3 etc and you should be fine.
Ok. One other thing. Its outputting the values to 15 decimal places, does rounding it down to 6-8 seem sensible?
We can figure that out another time.
Updated to use __str__
Thank you!
Implemented basic OBJ exporting, works for the unity 4 & 5 bundles I have.
Elements not implemented:
Don't know how widespread these missing features are, but I didn't encounter them.