You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-24Lines changed: 16 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,21 +15,19 @@ they are auto-generated. See [How To Build](#how-to-build)
15
15
16
16
## How to use
17
17
18
-
Download the latest [jaylib.jar](https://github.com/electronstudio/jaylib/releases/download/v3.0.0-rc5/jaylib.jar) from [releases](https://github.com/electronstudio/jaylib/releases)
18
+
Download the latest `jaylib.jar` and `jaylib-natives.jar` for your platform(s) from [releases](https://github.com/electronstudio/jaylib/releases)
19
19
20
20
Write a demo program, e.g. Demo.java
21
21
22
22
```java
23
-
importcom.raylib.Jaylib.Vector3;
24
-
importcom.raylib.Jaylib.Camera;
25
23
importcom.raylib.Raylib;
26
24
import staticcom.raylib.Jaylib.*;
27
25
28
26
publicclassDemo {
29
27
publicstaticvoidmain(Stringargs[]) {
30
28
InitWindow(800, 450, "Demo");
31
29
SetTargetFPS(60);
32
-
Camera camera =newCamera(newVector3(18,16,18),newVector3(), newVector3(0,1,0), 45, 0);
30
+
Camera camera =newCamera(newVector3().x(18).y(16).z(18),newVector3(), newVector3().x(0).y(1).z(0), 45, 0);
0 commit comments