-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
struct WedgeMasks
: Encapsulate static wedge_masks_*
s and `fn fill…
…2d_16x2` in a `struct` (#479) `fn fill2d_16x2` as it was couldn't get rid of the `&mut`s to make it a `const fn` and remove the `static mut`s for the `static wedge_masks_*`s, since it took and store (in other statics) references to those statics. This separates the steps into creating the statics and then referencing them in separate functions/methods, and it also significantly simplifies things as well.
- Loading branch information
Showing
1 changed file
with
99 additions
and
177 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