Skip to content

Commit

Permalink
fix missing newRectangle method
Browse files Browse the repository at this point in the history
  • Loading branch information
electronstudio committed Nov 24, 2024
1 parent ae550e6 commit 434e7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/raylib/Helpers.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static Raylib.Camera2D newCamera2D(Raylib.Vector2 offset,
}


public Raylib.Rectangle newRectangle(float x, float y, float width, float height) {
public static Raylib.Rectangle newRectangle(float x, float y, float width, float height) {
return new Raylib.Rectangle()
.x(x)
.y(y)
Expand Down

0 comments on commit 434e7d4

Please sign in to comment.