wlsunset/color_math.h

9 lines
242 B
C
Raw Normal View History

2020-09-13 01:22:18 +00:00
#ifndef _COLOR_MATH_H
#define _COLOR_MATH_H
2020-09-13 19:12:44 +00:00
void sun(struct tm *tm, double longitude, double latitude, time_t *sunrise, time_t *sunset);
2020-09-13 01:22:18 +00:00
double clamp(double value);
void calc_whitepoint(int temp, double *rw, double *gw, double *bw);
#endif