//////////////////////////////////////////////////////////////////////////
| 58 | |
| 59 | /////////////////////////////////////////////////////////////////////////////// |
| 60 | void Color3i::Set(int rgb_index, uint8_t val) { |
| 61 | uint8_t* rgb = At(rgb_index); |
| 62 | if (rgb) { |
| 63 | *rgb = val; |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | /////////////////////////////////////////////////////////////////////////////// |
| 68 | void Color3i::Interpolate(const Color3i& other_color, float t) { |