summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-01-13 20:03:09 -0500
committerTavian Barnes <tavianator@gmail.com>2010-01-13 20:03:09 -0500
commitd208c16c438e91e3f12af711b2348e69a54f63f3 (patch)
tree377e3f276aa72fdd5db2dc3c370186a72039a676 /libdimension/dimension
parent511e49993c30aff33a4b3719f1c712d81efedf7a (diff)
downloaddimension-d208c16c438e91e3f12af711b2348e69a54f63f3.tar.xz
New use dmnsn_color_gradient() for weighted reflections.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/color.h2
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);