Advertisement
Guest User

Untitled

a guest
Nov 28th, 2015
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. @Override
  2. public void drawComponent(int mouseX, int mouseY) {
  3. if (string == null)
  4. return;
  5. GlStateManager.pushMatrix();
  6. GlStateManager.rotate(angle, 0, 0, angle);
  7. if (angle < 180) {
  8. GlStateManager.translate(-angle / 1.5, -angle / 4, 0);
  9. } else {
  10. GlStateManager.translate(-angle / 15, angle / 40, 0);
  11. }
  12.  
  13. fr.drawChat(string, getBounds().x, getBounds().y, true);
  14.  
  15. GlStateManager.popMatrix();
  16. super.drawComponent(mouseX, mouseY);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement