Skip to content

Commit

Permalink
BLUGA-GRAPHICS: Remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Nov 5, 2023
1 parent acd4732 commit c319fa7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ namespace Systems::GraphicsSystems {
Registry::components<Types::Parallax> &arrParallax,
Registry::components<Types::Position> &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);
}
}

Expand Down

0 comments on commit c319fa7

Please sign in to comment.