-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove support for negative offsets in wavefront parser
I checked, and none of the meshes I've used for testing seem to actually this. Negative offsets would index off the end of vertex buffers, but supporting this requires that we iterate over the wavefront file at least twice - Once to count the totals, and a second pass to do the actual parsing. Seems like a very small gain for all that additional parsing required, and I'm hoping to delete this parser entirely in the near future anyway, so I don't really mind if it's not fully compliant.
- Loading branch information
Showing
1 changed file
with
15 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters