diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-02 03:38:32 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-02 03:38:32 +0200 |
commit | 275c6c9d801fffbf30fc702c1f683e519f66798f (patch) | |
tree | 75ae2c1999b9f42ca72cb9803fc682a4ddee6f5b /src/Utils.cpp | |
parent | 4ae711eb3ca9157cf90de946517a1a2726d27024 (diff) |
Change tab style, floor cleanup
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r-- | src/Utils.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp index fec8bb9..67c739b 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -77,4 +77,8 @@ namespace QuickMedia { strftime(time_str, sizeof(time_str) - 1, "%Y %b %d, %a %H:%M", &time_tm); return time_str; } -}
\ No newline at end of file + + sf::Vector2f vec2f_round(float x, float y) { + return { int(x), int(y) }; + } +} |