Examples of glEndList()


Examples of javax.media.opengl.GL2.glEndList()

           
    gear3 = gl.glGenLists(1);
    gl.glNewList(gear3, GL2.GL_COMPILE);
    gl.glMaterialfv(GL2.GL_FRONT, GL2.GL_AMBIENT_AND_DIFFUSE, blue, 0);
    gear(gl, 1.3f, 2.0f, 0.5f, 10, 0.7f);
    gl.glEndList();
           
    gl.glEnable(GL2.GL_NORMALIZE);
               
    if (drawable instanceof AWTGLAutoDrawable) {
        AWTGLAutoDrawable awtDrawable = (AWTGLAutoDrawable) drawable;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.