Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. public static void drawOutlinedBlockESP(double x, double y, double z, float red, float green, float blue, float alpha, float lineWidth)
  2. {
  3. GL11.glPushMatrix();
  4. GL11.glEnable(3042);
  5. GL11.glBlendFunc(770, 771);
  6. GL11.glDisable(3553);
  7. GL11.glEnable(2848);
  8. GL11.glDisable(2929);
  9. GL11.glDepthMask(false);
  10. GL11.glLineWidth(lineWidth);
  11. GL11.glColor4f(red, green, blue, alpha);
  12. drawOutlinedBoundingBox(new AxisAlignedBB(x, y, z, x + 1.0D, y + 1.0D, z + 1.0D));
  13. GL11.glDisable(2848);
  14. GL11.glEnable(3553);
  15. GL11.glEnable(2929);
  16. GL11.glDepthMask(true);
  17. GL11.glDisable(3042);
  18. GL11.glPopMatrix();
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement