Ajout des fichiers de configuration minimal

This commit is contained in:
Loïc GUEZO
2024-04-24 14:54:19 +02:00
parent 2ee2a261a1
commit 9b5a7e4974
339 changed files with 0 additions and 3642 deletions

View File

@@ -1,36 +0,0 @@
import java.util.random.*;
import java.util.ArrayList;
import java.util.HashMap;
import org.lwjgl.*;
import org.lwjgl.glfw.*;
import org.lwjgl.opengl.*;
import org.lwjgl.system.*;
import java.nio.*;
import static org.lwjgl.glfw.Callbacks.*;
import static org.lwjgl.glfw.GLFW.*;
import static org.lwjgl.opengl.GL11.*;
import static org.lwjgl.system.MemoryStack.*;
import static org.lwjgl.system.MemoryUtil.*;
public class Main {
public static void main(String[] args) {
if(!GLFW.glfwInit()) {
System.err.println("initialization error");
System.exit(1);
}
long window = GLFW.glfwCreateWindow(800, 600, "test fenetre", MemoryUtil.NULL, MemoryUtil.NULL);
GLFW.glfwMakeContextCurrent(window);
GL.createCapabilities();
while (!GLFW.glfwWindowShouldClose(window)) {
GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);
GLFW.glfwSwapBuffers(window);
GLFW.glfwPollEvents();
}
}
}