MEPP2 Project
|
Namespaces | |
Matrix | |
Vector | |
Functions | |
template<typename OutT > | |
OutT | convert_color_value (uint8_t color_0_255) |
template<> | |
float | convert_color_value< float > (uint8_t color_0_255) |
template<> | |
double | convert_color_value< double > (uint8_t color_0_255) |
template<typename OutT > | |
OutT | convert_color_value (double color_0_1) |
template<> | |
uint8_t | convert_color_value< uint8_t > (double color_0_1) |
template<typename T > | |
T | deg2rad (T deg) |
template<typename T > | |
T | rad2deg (T rad) |
OutT FEVV::Math::convert_color_value | ( | double | color_0_1 | ) |
Convert color value given in [0.0; 1.0] to another type. General case, no range change, casting is enough.
Definition at line 59 of file color_conversion.hpp.
OutT FEVV::Math::convert_color_value | ( | uint8_t | color_0_255 | ) |
Convert color value given in [0; 255] to another type. General case, no range change, casting is enough.
Definition at line 29 of file color_conversion.hpp.
|
inline |
Convert color value in [0; 255] to color value in [0.0; 1.0] (double).
Definition at line 49 of file color_conversion.hpp.
|
inline |
Convert color value in [0; 255] to color value in [0.0; 1.0] (float).
Definition at line 39 of file color_conversion.hpp.
|
inline |
Convert color value in [0.0; 1.0] to color value in [0; 255].
Definition at line 69 of file color_conversion.hpp.
|
inline |
Definition at line 20 of file degree_rad_conversion.h.
|
inline |