|
Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
|
Functions | |
| std::tuple< int, int, int > | HexToRgb (const std::string &str) |
| glm::vec3 | toHSL (const glm::vec3 rgb) |
| glm::vec3 | toRGB (const glm::vec3 hsl) |
| std::string | strip (const std::string &inpt) |
| std::vector< std::string > | split (const std::string &s, const std::string &delimiter) |
| template<typename T > | |
| std::string | NumberToHumanString (const T l) |
| template<typename T > | |
| std::string | NumberToPowerString (const T l) |
| std::tuple< int, int, int > cqsp::util::HexToRgb | ( | const std::string & | str | ) |
Converts hex color string to rgb, scaled from 0 to 255.
|
inline |
|
inline |
Number to unit on power (like watts)
| std::vector< std::string > cqsp::util::split | ( | const std::string & | s, |
| const std::string & | delimiter | ||
| ) |
| std::string cqsp::util::strip | ( | const std::string & | inpt | ) |
| glm::vec3 cqsp::util::toHSL | ( | const glm::vec3 | rgb | ) |
| glm::vec3 cqsp::util::toRGB | ( | const glm::vec3 | hsl | ) |