Closed hluisi closed 8 years ago
what is the +0.5f
for? an epsilon?
the c-style cast is a truncating conversion, the +0.5 is a fast way to make it into a round.
Cool - if you want to do a PR, I'll accept it. It also would be nice to have a snippet in the example-demo to explain it
This will allow for easy use of ImColor( ofColor()), etc...
Currently mine looks like this: