mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-07-16 10:36:15 +01:00
Remove tons of pointless helpers
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user