-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TextureTools: don't allocate the output in atlasArrayPowerOfTwo().
I mean, yes, it was already SIGNIFICANTLY better than the atlas() that took a vector and returned one as well, but still. One of the usual use cases is that there's an array of structs containing both sizes offsets and the offsets get written back. The original versions are deprecated as I really don't see any convenient use case for these, especially given they return a pair and not just an array.
- Loading branch information
Showing
3 changed files
with
117 additions
and
43 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
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
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