From c319fa776a90db9595179d3de68fbef26d0468c4 Mon Sep 17 00:00:00 2001 From: Xavier Mitault Date: Sun, 5 Nov 2023 02:13:46 +0000 Subject: [PATCH] BLUGA-GRAPHICS: Remove debug --- .../include/B-luga-graphics/ParallaxSystems.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/B-luga-graphics/include/B-luga-graphics/ParallaxSystems.hpp b/libs/B-luga-graphics/include/B-luga-graphics/ParallaxSystems.hpp index 9e621c2..1f7dc5c 100644 --- a/libs/B-luga-graphics/include/B-luga-graphics/ParallaxSystems.hpp +++ b/libs/B-luga-graphics/include/B-luga-graphics/ParallaxSystems.hpp @@ -32,11 +32,9 @@ namespace Systems::GraphicsSystems { Registry::components &arrParallax, Registry::components &arrPosition) { - Logger::info("UwU :" + std::to_string(id) + " :: " + std::to_string(arrPosition[id].x)); if (Maths::intToFloatConservingDecimals(arrPosition[id].x) <= maxOutParallaxLeft) { Maths::addNormalIntToDecimalInt(arrPosition[id].x, maxOutParallaxRight * 2); - // arrPosition[id].y = Maths::floatToIntConservingDecimals(arrParallax[id].y); - Logger::error("Parallax reset :" + std::to_string(id) + " :: " + std::to_string(arrPosition[id].x)); + arrPosition[id].y = Maths::floatToIntConservingDecimals(arrParallax[id].y); } }