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

Implement shaders for ArgonHealthDisplay #302

Merged
merged 13 commits into from Jan 16, 2024

Conversation

EVAST9919
Copy link
Contributor

No description provided.

Comment on lines 147 to 148
mediump float topWidth = max(size.x - padding - 70.0, padding) - p1.x;
mediump float bottomWidth = p4.x - max(size.x - padding - 40.0, padding);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can these numbers exist as constant members at the top of the header file? If I'm understanding their purpose, they're defining the points at which the curve from the top to the bottom begins.

@EVAST9919
Copy link
Contributor Author

Just a small helper graph showing how the shape is being created
shape

@peppy peppy self-requested a review January 16, 2024 04:33
@peppy peppy merged commit c61fdce into ppy:master Jan 16, 2024
2 checks passed
@EVAST9919 EVAST9919 deleted the argon-health-shaders branch January 16, 2024 09:14
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.

None yet

3 participants