Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. GlStateManager.pushMatrix();
  2. this.bindTexture(TEX1);
  3. GlStateManager.scale(-1.0F, -1.0F, 1.0F);
  4. GlStateManager.scale(1.75F, .2F, 1.0F);
  5. GlStateManager.rotate(180.0F, 0.0F, 0.0F, 1.0F);
  6. GlStateManager.translate(-.225F, -4.4F, -.58F);
  7. GlStateManager.disableCull();
  8. GlStateManager.color(94.0F / 255.0F, 0.0F, 120.0F / 255.0F, 1.0F);
  9. wr.begin(GL11.GL_QUADS, DefaultVertexFormats.POSITION_TEX_COLOR);
  10. wr.pos(0, 0, 0).tex(1.0F, 1.0F).color(255, 255, 255, 255).endVertex();
  11. wr.pos(1, 0, 0).tex(0.0F, 1.0F).color(255, 255, 255, 255).endVertex();
  12. wr.pos(1, 1, 0).tex(0.0F, 0.0F).color(255, 255, 255, 255).endVertex();
  13. wr.pos(0, 1, 0).tex(1.0F, 0.0F).color(255, 255, 255, 255).endVertex();
  14. tess.draw();
  15. GlStateManager.popMatrix();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement