forked from NeilJed/VTFLib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pad rectangular side faces before stretching them
If a side face is shorter than the width, we make it a square. Fill the top half with the original image, and pad the rest with the last pixel. It looks better this way and maps seem to rely on this behavior.
- Loading branch information
Showing
1 changed file
with
42 additions
and
17 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