diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-12-14 14:48:06 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-12-14 14:48:06 +0000 |
| commit | acf18ab61ce7cd1ba1b72b9451b14b3fc353e2fd (patch) | |
| tree | f3bdddae1d6eadc86b1fd0e66688318cc5240573 /src/chromaticity.h | |
| parent | 0fee90e0af6fc8dec76450b75d1648d325cc57ca (diff) | |
Add function for D65 white point.
Diffstat (limited to 'src/chromaticity.h')
| -rw-r--r-- | src/chromaticity.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chromaticity.h b/src/chromaticity.h index 90453457..c62731f7 100644 --- a/src/chromaticity.h +++ b/src/chromaticity.h @@ -69,6 +69,8 @@ public: bool about_equal (Chromaticity const & other, float epsilon) const { return std::fabs (x - other.x) < epsilon && std::fabs (y - other.y) < epsilon; } + + static Chromaticity D65 (); }; } |
