| 49 | { |
| 50 | |
| 51 | Color TupleToColor(const std::tuple<float, float, float>& t) |
| 52 | { |
| 53 | Color c; |
| 54 | c.SetRed(std::get<0>(t)); |
| 55 | c.SetGreen(std::get<1>(t)); |
| 56 | c.SetBlue(std::get<2>(t)); |
| 57 | return c; |
| 58 | } |
| 59 | |
| 60 | std::tuple<float, float, float> ColorToTuple(const Color& c) |
| 61 | { |
no outgoing calls
no test coverage detected