Examples of glBegin()


Examples of net.java.games.jogl.GL.glBegin()

       
        if(data != null) {
            gl.glTexSubImage2D(GL.GL_TEXTURE_2D, 0, 0, 0, formatWidth, formatHeight,  inputColorOrder, inputFormat, data);
        }
               
        gl.glBegin(GL.GL_QUADS);
          gl.glTexCoord2f(0,0);
          gl.glVertex3d(-1, 1,0);
          gl.glTexCoord2f(extendX,0);
          gl.glVertex3d(1, 1,0);
          gl.glTexCoord2f(extendX,extendY);
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.