f
This commit is contained in:
parent
da9a68b044
commit
56dd24e2e9
1 changed files with 1 additions and 3 deletions
|
@ -280,9 +280,7 @@ proc blendSaturation(a, b: ColorRGBA): ColorRGBA =
|
||||||
blendSaturationFloats(a.color, b.color).rgba
|
blendSaturationFloats(a.color, b.color).rgba
|
||||||
|
|
||||||
proc blendMask(a, b: ColorRGBA): ColorRGBA =
|
proc blendMask(a, b: ColorRGBA): ColorRGBA =
|
||||||
result.r = a.r
|
result = a
|
||||||
result.g = a.g
|
|
||||||
result.b = a.b
|
|
||||||
result.a = min(a.a, b.a)
|
result.a = min(a.a, b.a)
|
||||||
|
|
||||||
proc blendSubtractMask(a, b: ColorRGBA): ColorRGBA =
|
proc blendSubtractMask(a, b: ColorRGBA): ColorRGBA =
|
||||||
|
|
Loading…
Reference in a new issue