aboutsummaryrefslogtreecommitdiff
path: root/pgm.h
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-07-25 00:09:53 +0200
committerJulian T <julian@jtle.dk>2020-07-25 00:09:53 +0200
commitdbba33fcd07c9e81e3ca9bc4f5e8185d364fb792 (patch)
tree7e3b570853a18c7f7670c870f8bc6a09bb287a4f /pgm.h
parentef684a7d2ad2934af872cb19a413c95d1005c4b6 (diff)
Further experimentation with pathtracingpath_tracing
Probably starting over in cpp
Diffstat (limited to 'pgm.h')
-rw-r--r--pgm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pgm.h b/pgm.h
index 91c756b..af336db 100644
--- a/pgm.h
+++ b/pgm.h
@@ -11,6 +11,7 @@ typedef struct {
void color_clamp(color_t *c);
+void color_gamma_correct(color_t *c);
color_t *color_set(color_t *c, COORD_T r, COORD_T g, COORD_T b);
color_t *color_scale(color_t *dest, color_t *a, COORD_T b);
color_t *color_add(color_t *dest, color_t *a, color_t *b);