forked from bartvdbraak/blender
leanup: style, use 'const' where possible, and simplified blend funcs.
Much better to use small loops when doing complex operations over color elements (any serious compiler will flatten them anyway), avoids (some!) stupid mistakes when editing their code. Also, use min/max funcs instead of lengthier 'if (foo < 0) foo = 0'.
This commit is contained in:
parent
14297dd2fd
commit
eea7521e21