diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-01-13 20:03:09 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-01-13 20:03:09 -0500 |
commit | d208c16c438e91e3f12af711b2348e69a54f63f3 (patch) | |
tree | 377e3f276aa72fdd5db2dc3c370186a72039a676 /libdimension/dimension | |
parent | 511e49993c30aff33a4b3719f1c712d81efedf7a (diff) | |
download | dimension-d208c16c438e91e3f12af711b2348e69a54f63f3.tar.xz |
New use dmnsn_color_gradient() for weighted reflections.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r-- | libdimension/dimension/color.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/dimension/color.h b/libdimension/dimension/color.h index 43edbff..9627ce8 100644 --- a/libdimension/dimension/color.h +++ b/libdimension/dimension/color.h @@ -88,8 +88,8 @@ dmnsn_sRGB dmnsn_sRGB_from_color(dmnsn_color color); /* Perceptual color manipulation */ dmnsn_color dmnsn_color_add(dmnsn_color color1, dmnsn_color color2); -dmnsn_color dmnsn_color_sub(dmnsn_color color1, dmnsn_color color2); dmnsn_color dmnsn_color_mul(double n, dmnsn_color color); +dmnsn_color dmnsn_color_gradient(dmnsn_color c1, dmnsn_color c2, double n); dmnsn_color dmnsn_color_filter(dmnsn_color color, dmnsn_color filter); dmnsn_color dmnsn_color_illuminate(dmnsn_color light, dmnsn_color color); double dmnsn_color_difference(dmnsn_color color1, dmnsn_color color2); |