Merge pull request #11188 from VOREStation/Arokha/colorhelpers

Remove tons of pointless helpers
This commit is contained in:
Aronai Sieyes
2021-07-20 23:02:01 +00:00
committed by Chompstation Bot
parent 4a6c523aa6
commit 60f60e58f4
5 changed files with 11 additions and 557 deletions
@@ -361,7 +361,7 @@
var/saturation = get_pin_data(IC_INPUT, 2)
var/value = get_pin_data(IC_INPUT, 3)
if(isnum(hue) && isnum(saturation) && isnum(value))
result = HSVtoRGB(hsv(AngleToHue(hue),saturation,value))
result = rgb(h = hue, s = saturation, v = value, space = COLORSPACE_HSV)
set_pin_data(IC_OUTPUT, 1, result)
push_data()