From a26549ce63180b53c20c455959a0730dfaab05af Mon Sep 17 00:00:00 2001 From: kj16609 Date: Tue, 1 Oct 2024 19:01:24 -0400 Subject: [PATCH] Fixes axis helper --- src/engine/debug/drawers.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/engine/debug/drawers.cpp b/src/engine/debug/drawers.cpp index 54af7b4..65bb91a 100644 --- a/src/engine/debug/drawers.cpp +++ b/src/engine/debug/drawers.cpp @@ -38,13 +38,13 @@ namespace fgl::engine::debug void drawAxisHelper() { constexpr WorldCoordinate center { constants::WORLD_CENTER }; - constexpr WorldCoordinate right { constants::WORLD_X }; + constexpr WorldCoordinate right { constants::WORLD_Y }; + constexpr WorldCoordinate forward { constants::WORLD_X }; constexpr WorldCoordinate up { constants::WORLD_Z }; - constexpr WorldCoordinate forward { constants::WORLD_Y }; - drawLine( center, right, constants::WORLD_X ); - drawLine( center, up, constants::WORLD_Z ); - drawLine( center, forward, constants::WORLD_Y ); + drawLine( center, right, right.vec() ); + drawLine( center, up, up.vec() ); + drawLine( center, forward, forward.vec() ); } } // namespace fgl::engine::debug