mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-24 13:02:49 +01:00
aefaef
This commit is contained in:
parent
074fe67bfe
commit
a1d1c6b0b4
@ -850,7 +850,7 @@ end
|
||||
|
||||
------------------------------------------ Функции для работы с цветом -----------------------------------------------
|
||||
|
||||
function image.hueSaturationBrigtness(picture, hue, saturation, brightness)
|
||||
function image.hueSaturationBrightness(picture, hue, saturation, brightness)
|
||||
local function calculateBrightnessChanges(color)
|
||||
local h, s, b = colorlib.HEXtoHSB(color)
|
||||
b = b + brightness; if b < 0 then b = 0 elseif b > 100 then b = 100 end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user