aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-02-10 00:38:55 +0100
committerdec05eba <dec05eba@protonmail.com>2021-02-10 00:38:55 +0100
commit41d7a62457a48d7d76a226bb7bd3d562500dddc2 (patch)
treeb245356b8e338fc4261e28435cd802e58cb071f1 /include
parente1bbef2d64de09e0eef88410d69ac772d34d79ad (diff)
Its all so tiresome
Diffstat (limited to 'include')
-rw-r--r--include/Scale.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Scale.hpp b/include/Scale.hpp
index e7e1b27..375ddff 100644
--- a/include/Scale.hpp
+++ b/include/Scale.hpp
@@ -2,6 +2,8 @@
#include <SFML/System/Vector2.hpp>
+// TODO: Check if size is 0 before dividing to prevent division by 0?
+
namespace QuickMedia {
template<typename T>
static T wrap_to_size_x(const T &size, const T &clamp_size) {