Blender Git Commit Log
Git Commits -> Revision eea7521
Revision eea7521 by Bastien Montagne (master) July 30, 2014, 10:19 (GMT) |
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'. |
Commit Details:
Full Hash: eea7521e21f9aed1c996dde5b248c5c8d5926440
Parent Commit: 14297dd
Lines Changed: +284, -597
1 Modified Path:
/source/blender/blenlib/intern/math_color_blend_inline.c (+284, -597) (Diff)