@@ -0,0 +1,1457 @@
+package net.steel3d.examples;%0A%0A%0Aimport org.lwjgl.input.Mouse;%0Aimport org.lwjgl.opengl.DisplayMode;%0Aimport org.lwjgl.util.vector.Vector3f;%0Aimport org.newdawn.slick.opengl.Texture;%0A%0Aimport net.steel3d.core.Game;%0Aimport net.steel3d.graphics.Graphics;%0Aimport net.steel3d.util.ImageLoader;%0A%0A/**%0A * %0A * main class must extend net.steel3d.core.Game%0A *%0A */%0Apublic class Example extends Game%7B%0A%0A%0A%09public Example() %7B%0A%09%09super(%22Example Program%22,//project name%0A%09%09%22%22);//project version%0A%09%7D%0A%09%0A%09/**%0A%09 * defines a method%0A%09 */%0A    public Texture sand;%0A%0A%0A%09/**%0A%09 * method called on start%0A%09 */%0A%09public void init() %7B%09%0A%09%09sand = ImageLoader.loadImage(%22net/steel3d/examples/sand.png%22);%0A%09%09%0A%09%7D%0A%09%0A%09/**%0A%09 * called in game loop NOT FOR RENDERING*/%0A%09public void update(int delta) %7B%0A%09%09%0A%09%09System.out.println(delta);%0A%09%09%0A%09%09//rotates the camera%0A%09%09if(Mouse.isButtonDown(0))%7B%0A%09%09%09xrot-=Mouse.getDY()/5;%0A%09%09%09yrot+=Mouse.getDX()/5;%0A%0A%09%09%7D%0A%09%7D%0A%09%0A%09/**%0A%09 * define a Graphics instance (net.torchlight3d.graphics.Graphics)%0A%09 */%0A%09public Graphics g = new Graphics();%0A%09%0A%0A%09/**%0A%09 * Render method. Called in game loop %0A%09 */%0A%09float xrot = 0;%0A%09float yrot = 0;%0A%0A%09public void render() %7B%0A%09%09g.rotateX(xrot);%09%09%0A%0A%09%09g.rotateY(yrot);%0A%09%09%0A%09%09g.translate(new Vector3f(0,-6,0));%0A%09%09%0A%09%09g.drawTexturedCube(0,0, 0, 1, 1, 1, sand);%0A%09%7D%0A%0A%0A%0A%09/**%0A%09 * main method%0A%09 * @param args%0A%09 */%0A%09public static void main(String%5B%5Dargs)%7B%0A%09%09Example example = new Example();%0A%09%09example.run(new DisplayMode(1080,600));%0A%09%7D%0A%0A%09public void renderUI() %7B%0A%09%09%0A%09%7D%0A%7D%0A

Create Example.java