-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix float rounding when writing vertex data
Instead of flooring the float, round it either up or down depending on what's closer. This fixes UV coordinates losing precision when converted to BMD.
- Loading branch information
1 parent
ed63b04
commit 55f2b58
Showing
1 changed file
with
32 additions
and
32 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