17 #ifndef CARTOGRAPHER_IO_COLOR_H_ 18 #define CARTOGRAPHER_IO_COLOR_H_ 55 #endif // CARTOGRAPHER_IO_COLOR_H_
int RoundToInt(const float x)
FloatColor ToFloatColor(const Uint8Color &color)
float Uint8ComponentToFloat(uint8 c)
Uint8Color ToUint8Color(const FloatColor &color)
FloatColor GetColor(int id)
std::array< uint8, 3 > Uint8Color
std::array< float, 3 > FloatColor
uint8 FloatComponentToUint8(float c)
T Clamp(const T value, const T min, const T max)