Browse Source

Fix typo

master
C. J. Howard 4 years ago
parent
commit
6238b5ed12
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/game/astronomy/blackbody.cpp

+ 1
- 1
src/game/astronomy/blackbody.cpp View File

@ -47,7 +47,7 @@ double3 blackbody(double t)
// CIE XYZ -> linear RGB // CIE XYZ -> linear RGB
double3 rgb = xyz_to_rgb * xyz; double3 rgb = xyz_to_rgb * xyz;
// Normalize RGB to preserve chromacity
// Normalize RGB to preserve chromaticity
return rgb / std::max<double>(rgb.x, std::max<double>(rgb.y, rgb.z)); return rgb / std::max<double>(rgb.x, std::max<double>(rgb.y, rgb.z));
} }

Loading…
Cancel
Save