Fix mathematical error in temperature_tint

This commit is contained in:
Lior Halphon 2023-01-21 01:25:51 +02:00
parent 31c53e8e05
commit 1cc131227c
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ static inline void temperature_tint(double temperature, double *r, double *g, do
*b = 0;
}
else {
*b = sqrt(0.75 - temperature);
*b = sqrt(0.75 - temperature) / sqrt(0.75);
}
}
else {