diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-08-12 11:27:22 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-08-12 11:27:22 -0600 |
commit | 35ffff5eac99d198c49933901d2bd0dddd520a74 (patch) | |
tree | 347fc70bb8ed224956226b3cee0c4cc61f7919bc /libdimension/color.c | |
parent | 7742c81f3cbfa01f5e81ae6f5fe2c8edf754edb4 (diff) | |
download | dimension-35ffff5eac99d198c49933901d2bd0dddd520a74.tar.xz |
Rename "translucency" to "transparency".
Perhaps I should look up terms before I use them.
Diffstat (limited to 'libdimension/color.c')
-rw-r--r-- | libdimension/color.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/color.c b/libdimension/color.c index eea005b..02ecff9 100644 --- a/libdimension/color.c +++ b/libdimension/color.c @@ -263,7 +263,7 @@ dmnsn_filter_light(dmnsn_color light, dmnsn_color filter) /* Adds the background contribution, `filtered', to `filter' */ dmnsn_color -dmnsn_apply_translucency(dmnsn_color filtered, dmnsn_color filter) +dmnsn_apply_transparency(dmnsn_color filtered, dmnsn_color filter) { dmnsn_color ret = dmnsn_color_add( dmnsn_color_mul(1.0 - filter.trans, filter), @@ -278,7 +278,7 @@ dmnsn_apply_translucency(dmnsn_color filtered, dmnsn_color filter) dmnsn_color dmnsn_apply_filter(dmnsn_color color, dmnsn_color filter) { - return dmnsn_apply_translucency(dmnsn_filter_light(color, filter), filter); + return dmnsn_apply_transparency(dmnsn_filter_light(color, filter), filter); } /* Remove the filter channel */ |