Antkeeper  0.0.1
illuminants.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2023 Christopher J. Howard
3  *
4  * This file is part of Antkeeper source code.
5  *
6  * Antkeeper source code is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * Antkeeper source code is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with Antkeeper source code. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef ANTKEEPER_COLOR_ILLUMINANTS_HPP
21 #define ANTKEEPER_COLOR_ILLUMINANTS_HPP
22 
23 #include <engine/math/vector.hpp>
24 
25 namespace color {
26 
29 
32 
33 template <class T>
34 inline constexpr math::vec2<T> deg2_a = {T{0.44757}, T{0.40745}};
35 template <class T>
36 inline constexpr math::vec2<T> deg2_b = {T{0.34842}, T{0.35161}};
37 template <class T>
38 inline constexpr math::vec2<T> deg2_c = {T{0.31006}, T{0.31616}};
39 template <class T>
40 inline constexpr math::vec2<T> deg2_d50 = {T{0.34567}, T{0.35850}};
41 template <class T>
42 inline constexpr math::vec2<T> deg2_d55 = {T{0.33242}, T{0.34743}};
43 template <class T>
44 inline constexpr math::vec2<T> deg2_d65 = {T{0.31271}, T{0.32902}};
45 template <class T>
46 inline constexpr math::vec2<T> deg2_d75 = {T{0.29902}, T{0.31485}};
47 template <class T>
48 inline constexpr math::vec2<T> deg2_d93 = {T{0.28315}, T{0.29711}};
49 template <class T>
50 inline constexpr math::vec2<T> deg2_e = {T{0.33333}, T{0.33333}};
51 template <class T>
52 inline constexpr math::vec2<T> deg2_f1 = {T{0.31310}, T{0.33727}};
53 template <class T>
54 inline constexpr math::vec2<T> deg2_f2 = {T{0.37208}, T{0.37529}};
55 template <class T>
56 inline constexpr math::vec2<T> deg2_f3 = {T{0.40910}, T{0.39430}};
57 template <class T>
58 inline constexpr math::vec2<T> deg2_f4 = {T{0.44018}, T{0.40329}};
59 template <class T>
60 inline constexpr math::vec2<T> deg2_f5 = {T{0.31379}, T{0.34531}};
61 template <class T>
62 inline constexpr math::vec2<T> deg2_f6 = {T{0.37790}, T{0.38835}};
63 template <class T>
64 inline constexpr math::vec2<T> deg2_f7 = {T{0.31292}, T{0.32933}};
65 template <class T>
66 inline constexpr math::vec2<T> deg2_f8 = {T{0.34588}, T{0.35875}};
67 template <class T>
68 inline constexpr math::vec2<T> deg2_f9 = {T{0.37417}, T{0.37281}};
69 template <class T>
70 inline constexpr math::vec2<T> deg2_f10 = {T{0.34609}, T{0.35986}};
71 template <class T>
72 inline constexpr math::vec2<T> deg2_f11 = {T{0.38052}, T{0.37713}};
73 template <class T>
74 inline constexpr math::vec2<T> deg2_f12 = {T{0.43695}, T{0.40441}};
75 template <class T>
76 inline constexpr math::vec2<T> deg2_led_b1 = {T{0.4560}, T{0.4078}};
77 template <class T>
78 inline constexpr math::vec2<T> deg2_led_b2 = {T{0.4357}, T{0.4012}};
79 template <class T>
80 inline constexpr math::vec2<T> deg2_led_b3 = {T{0.3756}, T{0.3723}};
81 template <class T>
82 inline constexpr math::vec2<T> deg2_led_b4 = {T{0.3422}, T{0.3502}};
83 template <class T>
84 inline constexpr math::vec2<T> deg2_led_b5 = {T{0.3118}, T{0.3236}};
85 template <class T>
86 inline constexpr math::vec2<T> deg2_led_bh1 = {T{0.4474}, T{0.4066}};
87 template <class T>
88 inline constexpr math::vec2<T> deg2_led_rgb1 = {T{0.4557}, T{0.4211}};
89 template <class T>
90 inline constexpr math::vec2<T> deg2_led_v1 = {T{0.4560}, T{0.4548}};
91 template <class T>
92 inline constexpr math::vec2<T> deg2_led_v2 = {T{0.3781}, T{0.3775}};
93 
95 
98 
99 template <class T>
100 inline constexpr math::vec2<T> deg10_a = {T{0.45117}, T{0.40594}};
101 template <class T>
102 inline constexpr math::vec2<T> deg10_b = {T{0.34980}, T{0.35270}};
103 template <class T>
104 inline constexpr math::vec2<T> deg10_c = {T{0.31039}, T{0.31905}};
105 template <class T>
106 inline constexpr math::vec2<T> deg10_d50 = {T{0.34773}, T{0.35952}};
107 template <class T>
108 inline constexpr math::vec2<T> deg10_d55 = {T{0.33411}, T{0.34877}};
109 template <class T>
110 inline constexpr math::vec2<T> deg10_d65 = {T{0.31382}, T{0.33100}};
111 template <class T>
112 inline constexpr math::vec2<T> deg10_d75 = {T{0.29968}, T{0.31740}};
113 template <class T>
114 inline constexpr math::vec2<T> deg10_d93 = {T{0.28327}, T{0.30043}};
115 template <class T>
116 inline constexpr math::vec2<T> deg10_e = {T{0.33333}, T{0.33333}};
117 template <class T>
118 inline constexpr math::vec2<T> deg10_f1 = {T{0.31811}, T{0.33559}};
119 template <class T>
120 inline constexpr math::vec2<T> deg10_f2 = {T{0.37925}, T{0.36733}};
121 template <class T>
122 inline constexpr math::vec2<T> deg10_f3 = {T{0.41761}, T{0.38324}};
123 template <class T>
124 inline constexpr math::vec2<T> deg10_f4 = {T{0.44920}, T{0.39074}};
125 template <class T>
126 inline constexpr math::vec2<T> deg10_f5 = {T{0.31975}, T{0.34246}};
127 template <class T>
128 inline constexpr math::vec2<T> deg10_f6 = {T{0.38660}, T{0.37847}};
129 template <class T>
130 inline constexpr math::vec2<T> deg10_f7 = {T{0.31569}, T{0.32960}};
131 template <class T>
132 inline constexpr math::vec2<T> deg10_f8 = {T{0.34902}, T{0.35939}};
133 template <class T>
134 inline constexpr math::vec2<T> deg10_f9 = {T{0.37829}, T{0.37045}};
135 template <class T>
136 inline constexpr math::vec2<T> deg10_f10 = {T{0.35090}, T{0.35444}};
137 template <class T>
138 inline constexpr math::vec2<T> deg10_f11 = {T{0.38541}, T{0.37123}};
139 template <class T>
140 inline constexpr math::vec2<T> deg10_f12 = {T{0.44256}, T{0.39717}};
141 
143 
145 
146 } // namespace color
147 
148 #endif // ANTKEEPER_COLOR_ILLUMINANTS_HPP
Color science.
Definition: aces.hpp:27
constexpr math::vec2< T > deg2_f3
Definition: illuminants.hpp:56
constexpr math::vec2< T > deg2_f12
Definition: illuminants.hpp:74
constexpr math::vec2< T > deg2_led_v2
Definition: illuminants.hpp:92
constexpr math::vec2< T > deg2_led_b3
Definition: illuminants.hpp:80
constexpr math::vec2< T > deg2_led_b5
Definition: illuminants.hpp:84
constexpr math::vec2< T > deg2_d93
Definition: illuminants.hpp:48
constexpr math::vec2< T > deg2_led_b1
Definition: illuminants.hpp:76
constexpr math::vec2< T > deg2_f10
Definition: illuminants.hpp:70
constexpr math::vec2< T > deg10_d93
constexpr math::vec2< T > deg10_f5
constexpr math::vec2< T > deg2_d50
Definition: illuminants.hpp:40
constexpr math::vec2< T > deg2_d75
Definition: illuminants.hpp:46
constexpr math::vec2< T > deg10_f3
constexpr math::vec2< T > deg2_f8
Definition: illuminants.hpp:66
constexpr math::vec2< T > deg10_d55
constexpr math::vec2< T > deg10_f7
constexpr math::vec2< T > deg10_a
constexpr math::vec2< T > deg10_f2
constexpr math::vec2< T > deg2_led_rgb1
Definition: illuminants.hpp:88
constexpr math::vec2< T > deg2_f2
Definition: illuminants.hpp:54
constexpr math::vec2< T > deg10_d50
constexpr math::vec2< T > deg2_f4
Definition: illuminants.hpp:58
constexpr math::vec2< T > deg2_led_b2
Definition: illuminants.hpp:78
constexpr math::vec2< T > deg2_f11
Definition: illuminants.hpp:72
constexpr math::vec2< T > deg2_f7
Definition: illuminants.hpp:64
constexpr math::vec2< T > deg2_f1
Definition: illuminants.hpp:52
constexpr math::vec2< T > deg2_f5
Definition: illuminants.hpp:60
constexpr math::vec2< T > deg2_f6
Definition: illuminants.hpp:62
constexpr math::vec2< T > deg2_c
Definition: illuminants.hpp:38
constexpr math::vec2< T > deg10_f12
constexpr math::vec2< T > deg2_b
Definition: illuminants.hpp:36
constexpr math::vec2< T > deg2_e
Definition: illuminants.hpp:50
constexpr math::vec2< T > deg2_d55
Definition: illuminants.hpp:42
constexpr math::vec2< T > deg10_f11
constexpr math::vec2< T > deg10_f9
constexpr math::vec2< T > deg10_c
constexpr math::vec2< T > deg10_b
constexpr math::vec2< T > deg10_f1
constexpr math::vec2< T > deg2_led_v1
Definition: illuminants.hpp:90
constexpr math::vec2< T > deg2_f9
Definition: illuminants.hpp:68
constexpr math::vec2< T > deg2_d65
Definition: illuminants.hpp:44
constexpr math::vec2< T > deg10_f6
constexpr math::vec2< T > deg10_f8
constexpr math::vec2< T > deg10_d65
constexpr math::vec2< T > deg2_a
Definition: illuminants.hpp:34
constexpr math::vec2< T > deg2_led_bh1
Definition: illuminants.hpp:86
constexpr math::vec2< T > deg10_f10
constexpr math::vec2< T > deg10_e
constexpr math::vec2< T > deg2_led_b4
Definition: illuminants.hpp:82
constexpr math::vec2< T > deg10_d75
constexpr math::vec2< T > deg10_f4
n-dimensional vector.
Definition: vector.hpp:44