Skip to content

Commit

Permalink
Merge branch 'main' of github.com:X-R-G-B/B-luga
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Nov 5, 2023
1 parent 968b8af commit acd4732
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ namespace Systems {
size = calculateSize(sprite);
sprite.drawPro(
Raylib::Rectangle(0.F, 0.F, sprite.getTextureWidth(), sprite.getTextureHeight()),
Raylib::Rectangle(position.x, position.y, size.x, size.y),
Raylib::Rectangle(spritePos.x, spritePos.y, size.x, size.y),
Raylib::Vector2(origin.x, origin.y),
rotation,
tint);
Expand Down

0 comments on commit acd4732

Please sign in to comment.