package sprites;
import javax.media.opengl.GLCapabilities;
import javax.media.opengl.GLProfile;
import sprites.base.SpritesListener;
import com.jogamp.newt.opengl.GLWindow;
import com.jogamp.opengl.util.Animator;
public class Test {
public static void main(String... args){
// GLProfile glp = GLProfile.getDefault(GLProfile.getDefaultDevice());
GLProfile glp = GLProfile.get(GLProfile.GL4);
GLCapabilities caps = new GLCapabilities(glp);
GLWindow window = GLWindow.create(caps);
SpritesListener listener = new SpritesListener(new Configuration(null, null, 800, 600, 800, 600));
Animator animator = new Animator(window);
window.setVisible(true);
animator.start();
}
}