Package net.java.games.jogl

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


            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);
          gl.glVertex3d(1, -1,0);
          gl.glTexCoord2f(0,extendY);
View Full Code Here


               
        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);
          gl.glVertex3d(1, -1,0);
          gl.glTexCoord2f(0,extendY);
          gl.glVertex3d(-1, -1,0);
        gl.glEnd();
View Full Code Here

          gl.glTexCoord2f(0,0);
          gl.glVertex3d(-1, 1,0);
          gl.glTexCoord2f(extendX,0);
          gl.glVertex3d(1, 1,0);
          gl.glTexCoord2f(extendX,extendY);
          gl.glVertex3d(1, -1,0);
          gl.glTexCoord2f(0,extendY);
          gl.glVertex3d(-1, -1,0);
        gl.glEnd();
       
        drawable.swapBuffers();
View Full Code Here

          gl.glTexCoord2f(extendX,0);
          gl.glVertex3d(1, 1,0);
          gl.glTexCoord2f(extendX,extendY);
          gl.glVertex3d(1, -1,0);
          gl.glTexCoord2f(0,extendY);
          gl.glVertex3d(-1, -1,0);
        gl.glEnd();
       
        drawable.swapBuffers();
         
       
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.