Package com.sun.opengl.util

Examples of com.sun.opengl.util.GLUT


  public void init(GLAutoDrawable drawable) {
    System.out.println(" --- Exe02 ---");
    glDrawable = drawable;
    gl = drawable.getGL();
    glu = new GLU();
    glut = new GLUT();
    glDrawable.setGL(new DebugGL(gl));

    gl.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
  }
View Full Code Here


  public void init(GLAutoDrawable drawable) {
    System.out.println(" --- Exe04 ---");
    glDrawable = drawable;
    gl = drawable.getGL();
    glu = new GLU();
    glut = new GLUT();
    glDrawable.setGL(new DebugGL(gl));

    gl.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
  }
View Full Code Here

  };

  public JOGLGraphicsAdapter(GL gl) {
    this.gl = gl;
    glu = new GLU();
    glut = new GLUT();
    try {
      loadGLTextures(gl);
    } catch (IOException e) {
      e.printStackTrace();
    }
View Full Code Here

TOP

Related Classes of com.sun.opengl.util.GLUT

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.