From 87f55120f96d0f4f80b497dc9006d89df2dda125 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 2 Jun 2022 12:17:23 +0200 Subject: refactor: have cursor controller inverting input positions --- src/engine/data/vector2.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/engine/data') 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}); } /** -- cgit v1.2.3-18-g5258