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:
Bastien Montagne 2014-07-30 10:42:25 +02:00
parent 14297dd2fd
commit eea7521e21
1 changed files with 265 additions and 578 deletions

File diff suppressed because it is too large Load Diff