Examples of glPushName()


Examples of javax.media.opengl.GL2.glPushName()

    if (!property.isVisible) {
      return false;
    }
    GL2 gl = scene.gl;
    gl.glPushMatrix();
    gl.glPushName(property.shapeId);

    // move
    property.shape.setTranslation(property.positionX * GLScene.FACTOR,
        property.positionY * GLScene.FACTOR, 0f);

View Full Code Here

Examples of javax.media.opengl.GL2.glPushName()

    }
    if (!property.node1.isVisible || !property.node2.isVisible) {
      return false;
    }
    GL2 gl = scene.gl;
    gl.glPushName(property.shapeId);
    if (property.strokeWidth > 0.0f) {
      gl.glLineWidth(property.strokeWidth);
      gl.glColor4f(property.strokeColor.getRed() / 255f,
          property.strokeColor.getGreen() / 255f,
          property.strokeColor.getBlue() / 255f,
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.