Issue with Colour.withRotatedHue


#1

Colour(Colours::red).withRotatedHue(0.999999821f) is Black


#2

Hmm, that doesn’t sound right! Must be a maths overflow or something, I’ll take a look!


#3

thanks, i checked the fix, but now Colour(Colours::red).withRotatedHue(0.999999821f) is Pink #FF00FF


#4

Oh… ok, I’ll have another look soon. It’s definitely better than it was though - there was a mistake before, whereas now it’s probably just an accuracy problem.