-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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 HSV constructor #15782
Comments
You already have a set_hsv() function, we cannot define two constructors with the same signature. |
The problem is how to differentiate between the two? It's impossible to use the same constructor. Though we have |
It would make sense IMO. |
I agree. The problem is more fundamental because built-in types don't have static functions. I'm not sure if there's a hard limitation for that, but that's what happens currently. |
Fixed by #15852. |
There are hsv member variables in Color type, yet there is no constructor to put hsv into use.
Facing this problem:
color(1,1,1,1) << in rgba
color(1,1,1,1) << in hsva?
Need hsv constructor, please. Thank 😁
HSV is more intuitive compared to RGB.
The text was updated successfully, but these errors were encountered: