/////////////////////////////////////////////////////// Get the lowlands terrain color for the given moisture. ///////////////////////////////////////////////////////
| 121 | /// |
| 122 | //////////////////////////////////////////////////////////// |
| 123 | sf::Color colorFromFloats(float r, float g, float b) |
| 124 | { |
| 125 | return {static_cast<std::uint8_t>(r), static_cast<std::uint8_t>(g), static_cast<std::uint8_t>(b)}; |
| 126 | } |
| 127 | |
| 128 | sf::Color getLowlandsTerrainColor(float moisture) |
| 129 | { |
no outgoing calls
no test coverage detected