]> git.localhorst.tv Git - blobs.git/blob - src/ui/string.hpp
ff20ec1134d787ae8719aaae086dc05634244be0
[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 DecimalString(double n, int p);
12 std::string LengthString(double m);
13 std::string MassString(double kg);
14 std::string NumberString(int n);
15 std::string PercentageString(double n);
16 std::string TimeString(double s);
17 std::string VectorString(const glm::dvec3 &, int p);
18 std::string VectorString(const glm::ivec2 &);
19
20 }
21 }
22
23 #endif