Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.lwjgl.opengl.GL11;
- public class MagicRender extends aq {
- public void a(Magic paramat, double paramDouble1, double paramDouble2, double paramDouble3, float paramFloat1, float paramFloat2)
- {
- GL11.glPushMatrix();
- GL11.glTranslatef((float)paramDouble1, (float)paramDouble2, (float)paramDouble3);
- GL11.glEnable(32826);
- GL11.glScalef(0.5F, 0.5F, 0.5F);
- int i = mod_Staff.orb.a((fn)null);
- a("/gui/items.png");
- ip localip = ip.a;
- float f1 = (i % 16 * 16 + 0) / 256.0F;
- float f2 = (i % 16 * 16 + 16) / 256.0F;
- float f3 = (i / 16 * 16 + 0) / 256.0F;
- float f4 = (i / 16 * 16 + 16) / 256.0F;
- float f5 = 1.0F;
- float f6 = 0.5F;
- float f7 = 0.25F;
- GL11.glRotatef(180.0F - this.b.i, 0.0F, 1.0F, 0.0F);
- GL11.glRotatef(-this.b.j, 1.0F, 0.0F, 0.0F);
- localip.b();
- localip.b(0.0F, 1.0F, 0.0F);
- localip.a(0.0F - f6, 0.0F - f7, 0.0D, f1, f4);
- localip.a(f5 - f6, 0.0F - f7, 0.0D, f2, f4);
- localip.a(f5 - f6, 1.0F - f7, 0.0D, f2, f3);
- localip.a(0.0F - f6, 1.0F - f7, 0.0D, f1, f3);
- localip.a();
- GL11.glDisable(32826);
- GL11.glPopMatrix();
- }
- public void a(lr lr, double d, double d1, double d2,
- float f, float f1)
- {
- a((Magic)lr, d, d1, d2, f, f1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement