Package javax.media.opengl

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


      Tools3D.setLineSmoothEnabled(gl, true);
   
      if (strokeWeight > 0)
        gl.glLineWidth(strokeWeight);
      if (lineStipple != 0){
        gl.glLineStipple(1, lineStipple);
        gl.glEnable(GL.GL_LINE_STIPPLE);
      }
     
      if (indexBuff == null){
        gl.glDrawArrays(GL.GL_LINE_STRIP, 0, vertBuff.capacity()/3);
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.