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

feat: add gradients to scene_rect #102

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

feat: add gradients to scene_rect #102

wants to merge 3 commits into from

Conversation

WillPower3309
Copy link
Member

@WillPower3309 WillPower3309 commented Feb 10, 2025

Relatively rough for now... Will likely need to clean up rect rendering as a follow-up, so much shared logic between the rounded vs non rounded vs gradient vs solid color

@WillPower3309 WillPower3309 marked this pull request as draft February 10, 2025 23:40
@WillPower3309
Copy link
Member Author

should probably add an assertion for gradient count

@WillPower3309
Copy link
Member Author

an idea... we could treat all rects as having a gradient but only with one color in it if it is solid color

@ErikReider
Copy link
Member

an idea... we could treat all rects as having a gradient but only with one color in it if it is solid color

Yeah I was just thinking that!! :D

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