Examples of glScalef()


Examples of javax.media.opengl.GL.glScalef()

    PGraphicsOpenGL pgl = ((PGraphicsOpenGL)p.g);
//    GL gl = pgl.beginGL();
    GL gl = pgl.gl;
   
    gl.glPushMatrix();
    gl.glScalef(1, -1, 1);
    gl.glTranslatef(p.width/2, p.height/2, 0);
    gl.glScalef((float)map.sc, (float)map.sc, 1);
    gl.glTranslatef((float)map.tx, (float)map.ty, 0);
    gl.glGetDoublev(GL.GL_MODELVIEW_MATRIX, model);
    gl.glPopMatrix();
View Full Code Here

Examples of javax.media.opengl.GL.glScalef()

    GL gl = pgl.gl;
   
    gl.glPushMatrix();
    gl.glScalef(1, -1, 1);
    gl.glTranslatef(p.width/2, p.height/2, 0);
    gl.glScalef((float)map.sc, (float)map.sc, 1);
    gl.glTranslatef((float)map.tx, (float)map.ty, 0);
    gl.glGetDoublev(GL.GL_MODELVIEW_MATRIX, model);
    gl.glPopMatrix();
//    pgl.endGL();
   
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.