Skip to content

Commit

Permalink
BLUGA-GRAPHICS: Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Nov 1, 2023
1 parent a38bbfc commit ace960d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ namespace Systems {
float width = (rectangle.width * static_cast<float>(Raylib::Window::getScreenWidth())) / denominator;
float height = (rectangle.height * static_cast<float>(Raylib::Window::getScreenHeight())) / denominator;

DrawShape::drawRectangle(
Raylib::DrawShape::drawRectangle(
static_cast<int>(x),
static_cast<int>(y),
static_cast<int>(width),
static_cast<int>(height),
PURPLE);
Raylib::PURPLE);
}
}

Expand Down Expand Up @@ -200,7 +200,7 @@ namespace Systems {
auto ids = arrSpriteDatas.getExistingsId();
for (auto id : ids) {
auto &spriteDatas = arrSpriteDatas[id];
SpriteShared sprite = Sprite::fromFile(
Raylib::SpriteShared sprite = Sprite::fromFile(
spriteDatas.fileName,
Maths::intToFloatConservingDecimals(spriteDatas.width),
Maths::intToFloatConservingDecimals(spriteDatas.height),
Expand Down

0 comments on commit ace960d

Please sign in to comment.