1
Feature requests / Re: Support scalar color operator overloads
« on: August 19, 2016, 02:00:04 am »
Lol, I guess I'm the crazy one. I just polled 5 of my programmer friends of various levels of graphics experience, and they had the same hangups as you guys.
I think doing math like this has several common uses cases (even for newbs) if the alpha is masked out on these operators (see the other thread for that list if you are interested).
I don't think affecting alpha and colors at the same time is useful, even if it is "intuitive". If you can come up with use cases, I'm still interested, in case I get the urge to write my own float color class as an extension.
I think affecting alpha only has a very obvious set of use cases, but I personally would be more surprised by that (and so far my polls show that to be a unique interpretation).
I agree, too ambiguous to add, even if I personally would expect the class to do this due to use-case enablement. I really don’t want it to be a POLA argument, but it’s hard to recommend a change that causes support requests, even if it makes common use cases marginally more convenient.
Cool, thanks for the consideration!
(I won't call this dead til you guys do, but I think the responses I've gotten so far on the surprise factor are pretty conclusive in my opinion)
I think doing math like this has several common uses cases (even for newbs) if the alpha is masked out on these operators (see the other thread for that list if you are interested).
I don't think affecting alpha and colors at the same time is useful, even if it is "intuitive". If you can come up with use cases, I'm still interested, in case I get the urge to write my own float color class as an extension.
I think affecting alpha only has a very obvious set of use cases, but I personally would be more surprised by that (and so far my polls show that to be a unique interpretation).
I agree, too ambiguous to add, even if I personally would expect the class to do this due to use-case enablement. I really don’t want it to be a POLA argument, but it’s hard to recommend a change that causes support requests, even if it makes common use cases marginally more convenient.
Cool, thanks for the consideration!
(I won't call this dead til you guys do, but I think the responses I've gotten so far on the surprise factor are pretty conclusive in my opinion)