secret
anonymous / GraphicsManager.java
Created

  • Download Gist
GraphicsManager.java
Java
1 2 3 4 5 6 7 8 9 10 11
GL11.glBegin(GL11.GL_QUADS);
cloudTexture.bind();
GL11.glTexCoord2f(0,0);
GL11.glVertex2f(x,y);
GL11.glTexCoord2f(1,0);
GL11.glVertex2f(x+width,y);
GL11.glTexCoord2f(1,1);
GL11.glVertex2f(x+width,y+height);
GL11.glTexCoord2f(0,1);
GL11.glVertex2f(x,y+height);
GL11.glEnd();

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.