Examples of glVertex3f()


Examples of org.lwjgl.test.opengles.util.ImmediateModeBuffer.glVertex3f()

      imb.glNormal3f(-cos(angle), -sin(angle), 0.0f);
      imb.glVertex3f(r0 * cos(angle), r0 * sin(angle), -width * 0.5f);

      imb.glNormal3f(-cos(angle), -sin(angle), 0.0f);
      imb.glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5f);
    }

    gear.update(imb.getBuffer());
    return gear;
  }
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.