Package org.newdawn.slick.opengl.renderer

Examples of org.newdawn.slick.opengl.renderer.SGL.glPushMatrix()


    // ��� actor �������� view ����Ҵ
    Actor all[] = actorSet.toActorArray();
    vrect.setBounds(x, y, width, height);
    n = 0;
    SGL GL = Renderer.get();
    GL.glPushMatrix();
    g.setClip((int) screenX, (int) screenY, (int) width,
        (int) height);
    g.translate(screenX - x, screenY - y);
    for (int i = 0; i < all.length; i++) {
      if (all[i].isDead())
View Full Code Here


    if (bgColor != null) {
      g.setColor(bgColor);
      g.fillRect(screenX, screenY, width, height);
    }
    GL.glPushMatrix();
    g.setClip((int) screenX, (int) screenY, (int) width, (int) height);
    g.translate(screenX - x, screenY - y);
    paint(g);
    g.clearClip();
    GL.glPopMatrix();
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.