Skip to content

Commit

Permalink
fixed _position in Camera2D
Browse files Browse the repository at this point in the history
  • Loading branch information
MerujSargsyan committed Sep 20, 2024
1 parent 5fef3aa commit 62bb38f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/raylib/Jaylib.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ public Camera(Raylib.Vector3 position, Raylib.Vector3 target, Raylib.Vector3 up
}

public static class Camera2D extends Raylib.Camera2D{
public Camera2D(Raylib.Vector2 position, Raylib.Vector2 target, float rotation, float zoom) {
public Camera2D(Raylib.Vector2 offset, Raylib.Vector2 target, float rotation, float zoom) {
super();
_position(position);
offst(offset);
target(target);
rotation(rotation);
zoom(zoom);
Expand Down

0 comments on commit 62bb38f

Please sign in to comment.