This commit is contained in:
2025-04-22 17:05:26 +02:00
parent 4bd16026e1
commit ce0424ff8b
3 changed files with 149 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import org.lwjgl.glfw.*;
import org.lwjgl.opengl.*;
import org.lwjgl.system.*;
import java.io.IOException;
import java.nio.*;
import static org.lwjgl.glfw.Callbacks.*;
@@ -24,6 +25,11 @@ public class Window {
public Window() {
this.renderer = new Renderer();
this.cam = new Camera();
try {
ModelLoader.loadModel("3d/bishop.glb");
} catch (IOException e) {
e.printStackTrace();
}
}
public static void main(String[] args) {