summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/color.h6
-rw-r--r--libdimension/dimension/scene.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/libdimension/dimension/color.h b/libdimension/dimension/color.h
index ab2ea04..a72de98 100644
--- a/libdimension/dimension/color.h
+++ b/libdimension/dimension/color.h
@@ -80,10 +80,10 @@ dmnsn_CIE_Lab dmnsn_Lab_from_color(dmnsn_color color, dmnsn_CIE_XYZ white);
dmnsn_CIE_Luv dmnsn_Luv_from_color(dmnsn_color color, dmnsn_CIE_XYZ white);
dmnsn_sRGB dmnsn_sRGB_from_color(dmnsn_color color);
-/* Perceptually correct color combination */
+/* Perceptual color manipulation */
dmnsn_color dmnsn_color_add(dmnsn_color color1, dmnsn_color color2);
-
-/* Perceptual color difference */
+dmnsn_color dmnsn_color_mul(double n, dmnsn_color color);
+dmnsn_color dmnsn_color_illuminate(dmnsn_color light, dmnsn_color color);
double dmnsn_color_difference(dmnsn_color color1, dmnsn_color color2);
#endif /* DIMENSION_COLOR_H */
diff --git a/libdimension/dimension/scene.h b/libdimension/dimension/scene.h
index 8c9c705..e3f9662 100644
--- a/libdimension/dimension/scene.h
+++ b/libdimension/dimension/scene.h
@@ -29,6 +29,7 @@ typedef enum {
DMNSN_RENDER_NONE,
DMNSN_RENDER_OBJECTS,
DMNSN_RENDER_PIGMENT,
+ DMNSN_RENDER_LIGHTS,
DMNSN_RENDER_FULL
} dmnsn_quality;