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

Color: Bind from_hsv as static method #54868

Merged
merged 1 commit into from
Nov 11, 2021

Conversation

akien-mga
Copy link
Member

Part of #43311.

@akien-mga akien-mga added this to the 4.0 milestone Nov 11, 2021
@akien-mga akien-mga requested a review from a team as a code owner November 11, 2021 09:09
}

return ret;
Color Color::from_hsv(float p_h, float p_s, float p_v, float p_alpha) {
Copy link
Member Author

Choose a reason for hiding this comment

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

The only real change here is rename p_a to p_alpha and removing const qualifier. The rest is just moving stuff around to match order in header.

@akien-mga akien-mga requested a review from a team as a code owner November 11, 2021 10:50
@akien-mga akien-mga merged commit 51c8e44 into godotengine:master Nov 11, 2021
@akien-mga akien-mga deleted the color-from_hsv-static branch November 11, 2021 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant