Package javax.media.opengl

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


    GL gl = drawable.getGL();
        gl.glVertex2f(x, y);
  }
  private void applyPointSize() {
    GL gl = drawable.getGL();
    gl.glPointSize(pointDiameter);
  }
  public float getPointRadius() {
    return pointDiameter / 2f;
  }
  public void setPointRadius(float radius) {
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.