aboutsummaryrefslogtreecommitdiffstats
path: root/libred_get_colour.3
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-02-04 18:22:32 +0100
committerMattias Andrée <m@maandree.se>2025-02-04 18:22:32 +0100
commita3b8afe314883f977f37c202fe39297726108e41 (patch)
treea93dff3738e9ead2047ccd3a2cf06d7d1db6b304 /libred_get_colour.3
parentAdd libred_get_colour_xy, libred_get_temperature_xy, and libred_get_temperature (diff)
downloadlibred-a3b8afe314883f977f37c202fe39297726108e41.tar.gz
libred-a3b8afe314883f977f37c202fe39297726108e41.tar.bz2
libred-a3b8afe314883f977f37c202fe39297726108e41.tar.xz
Improve quality, fix errors, update comments, update man pages, add new man pagesHEAD1.1master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libred_get_colour.3')
-rw-r--r--libred_get_colour.38
1 files changed, 5 insertions, 3 deletions
diff --git a/libred_get_colour.3 b/libred_get_colour.3
index 61a62ff..d6649d2 100644
--- a/libred_get_colour.3
+++ b/libred_get_colour.3
@@ -1,6 +1,6 @@
.TH LIBRED_GET_COLOUR 3 LIBRED
.SH NAME
-libred_get_colour \- Calculate a colour temperature
+libred_get_colour \- Calculate the colour of a temperature
.SH SYNOPSIS
.nf
#include <libred.h>
@@ -10,7 +10,8 @@ int \fBlibred_get_colour_xy\fP(long int \fItemp\fP, double *\fIx\fP, double *\fI
.fi
.PP
Link with
-.IR -lred .
+.I -lred
+.IR -lm .
.SH DESCRIPTION
.BR libred_get_colour ()
gets or interpolates the colour temperature for
@@ -100,4 +101,5 @@ is less than
.SH SEE ALSO
.BR libred.h (0),
.BR libred (7),
-.BR libred_get_solar_elevation (3)
+.BR libred_get_temperature (3),
+.BR libred_solar_elevation (3)