aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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) {