Package javax.media.opengl

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


    color.set(baseColor);
  }
  private void applyBaseColor() {
    GL gl = drawable.getGL();
      baseColor.get(baseColorArray);
    gl.glLightModelfv(GL.GL_LIGHT_MODEL_AMBIENT, baseColorArray, 0);
  }

  // ==================== Images ====================
  public void drawImage(ch.blackspirit.graphics.Image image, float width, float height) {
    this.drawImage(image, width, height, Flip.NONE);
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.