Skip to content

Commit

Permalink
Fixed incorrect rect method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Oct 1, 2024
1 parent 85daacb commit d98a058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arc-core/src/arc/graphics/g2d/Lines.java
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public static void dashLine(float x1, float y1, float x2, float y2, int division
public static void circle(float x, float y, float rad){
poly(x, y, circleVertices(rad), rad);
}

public static void ellipse(float x, float y, float rad, float width, float height, float rot){
ellipse(circleVertices(rad), x, y, width * rad, height * rad, rot);

Expand Down Expand Up @@ -490,7 +490,7 @@ public static void rect(Rect rect){
rect(rect.x, rect.y, rect.width, rect.height, 0);
}

public static void rect(float x, float y, float width, float height, int space){
public static void rect(float x, float y, float width, float height, float space){
rect(x, y, width, height, space, space);
}

Expand Down

0 comments on commit d98a058

Please sign in to comment.