-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few small changes related to custom raster spaces.
* Make TransformPalette mut during the culling step. This will allow us to add new transforms relative to a given spatial node during the frame traversal. * Switch calculate_screen_bounding_rect use to project_rect. We will want to start using / storing world rects in floats most of the time, rather than converting to an integer device rect. * Make TransformPalette pre-allocate the size of the array of spatial nodes. This allows us to easily append new transform entries at the end of this array, as we need to add new matrices that are relevant to a different coordinate space.
- Loading branch information
Showing
5 changed files
with
109 additions
and
181 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
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
Oops, something went wrong.