Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PixelColor implement Copy #1

Merged
merged 2 commits into from
Apr 8, 2018

Conversation

thejpster
Copy link
Contributor

PixelColor is quite small (3 bytes) so it seemed overkill to make users pass references everywhere (which are typically 4 or 8 bytes).

I also added some associated consts with common colours, and a method for dimming to get darker shades of those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants