Antkeeper  0.0.1
Namespaces
cct.hpp File Reference
#include <engine/color/ucs.hpp>
#include <engine/color/xyy.hpp>
#include <engine/math/vector.hpp>

Go to the source code of this file.

Namespaces

 color
 Color science.
 

Functions

Correlated color temperature (CCT)
template<class T >
math::vec2< T > color::cct_to_ucs (T t) noexcept
 Calculates CIE 1960 UCS colorspace chromaticity coordinates given a correlated color temperature using Krystek's algorithm. More...
 
template<class T >
math::vec3< T > color::cct_to_xyy (T t)
 Calculates CIE xyY colorspace chromaticity coordinates given a correlated color temperature using Krystek's algorithm. More...
 
template<class T >
math::vec3< T > color::cct_to_xyz (T t)
 Calculates CIE XYZ colorspace chromaticity coordinates given a correlated color temperature using Krystek's algorithm. More...