diff options
author | Mattias Andrée <m@maandree.se> | 2025-03-07 21:41:53 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-03-07 21:41:53 +0100 |
commit | 06a863cfb689d5a34301d5a60e5d7951d2767c74 (patch) | |
tree | 7ccd3806d4b8ea3d0dc985e70e4411a28d354b0b /src/common.h | |
parent | Remove unused code (diff) | |
download | redshift-ng-06a863cfb689d5a34301d5a60e5d7951d2767c74.tar.gz redshift-ng-06a863cfb689d5a34301d5a60e5d7951d2767c74.tar.bz2 redshift-ng-06a863cfb689d5a34301d5a60e5d7951d2767c74.tar.xz |
Use libred to calculate the solar elevation
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 3548d5c..98384cc 100644 --- a/src/common.h +++ b/src/common.h @@ -78,6 +78,9 @@ #define NEUTRAL_TEMP 6500 +#define SOLAR_CIVIL_TWILIGHT_ELEV -6.0 + + /** * Truncate a value into a bounded range * |