From 275c6c9d801fffbf30fc702c1f683e519f66798f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 2 Oct 2021 03:38:32 +0200 Subject: Change tab style, floor cleanup --- src/Utils.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Utils.cpp') 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) }; + } +} -- cgit v1.2.3