Package javax.media.opengl

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


    }
   
    // Normals
    if (geometryInfo.isContainsNormals()){
      gl.glEnableClientState(GL.GL_NORMAL_ARRAY);
      gl.glNormalPointer(GL.GL_FLOAT, 0, geometryInfo.getNormalsBuff());
    }
   
    gl.glColorPointer(4, GL.GL_FLOAT, 0, colorBuff);
   
    // START recording display list and DRAW////////////////////
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.