fix color lib bug w/ large numbers overflowing
This commit is contained in:
parent
4408cb3aef
commit
36ee8fd056
|
@ -284,6 +284,7 @@ end
|
|||
--- smoother hsv. not correct but looks nicer
|
||||
---@return color
|
||||
function shsv(h, s, v, a)
|
||||
h = h % 1
|
||||
return hsv(h * h * (3 - 2 * h), s, v, a)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue