]> git.localhorst.tv Git - blobs.git/blob - src/ui/string.hpp
allow clicking celestial bodies
[blobs.git] / src / ui / string.hpp
1 #ifndef BLOBS_UI_STRING_HPP_
2 #define BLOBS_UI_STRING_HPP_
3
4 #include "../math/glm.hpp"
5
6 #include <string>
7
8 namespace blobs {
9 namespace ui {
10
11 std::string AngleString(double a);
12 std::string DecimalString(double n, int p);
13 std::string LengthString(double m);
14 std::string MassString(double kg);
15 std::string NumberString(int n);
16 std::string PercentageString(double n);
17 std::string TimeString(double s);
18 std::string VectorString(const glm::dvec3 &, int p);
19 std::string VectorString(const glm::ivec2 &);
20
21 }
22 }
23
24 #endif