aboutsummaryrefslogtreecommitdiff
path: root/src/engine/data
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-02 12:17:23 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:57:00 +0200
commit87f55120f96d0f4f80b497dc9006d89df2dda125 (patch)
tree4aba3a77b268c9ff97b146e2a02626931d9a3122 /src/engine/data
parent62164c0abd9c5f563fe8fe57d51b5dc003816c49 (diff)
refactor: have cursor controller inverting input positions
Diffstat (limited to 'src/engine/data')
-rw-r--r--src/engine/data/vector2.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/data/vector2.hpp b/src/engine/data/vector2.hpp
index 15df88f..620b41c 100644
--- a/src/engine/data/vector2.hpp
+++ b/src/engine/data/vector2.hpp
@@ -44,19 +44,19 @@ public:
auto operator==(const Vector2 &rhs) const noexcept -> bool;
/**
- * Returns Vector2({.x = 0, .y = -1})
+ * Returns Vector2({.x = 0, .y = 1})
*/
static constexpr auto up() noexcept -> Vector2
{
- return Vector2({.x = 0, .y = -1});
+ return Vector2({.x = 0, .y = 1});
}
/**
- * Returns Vector2({.x = 0, .y = 1})
+ * Returns Vector2({.x = 0, .y = -1})
*/
static constexpr auto down() noexcept -> Vector2
{
- return Vector2({.x = 0, .y = 1});
+ return Vector2({.x = 0, .y = -1});
}
/**