-
-
Save anonymous/a3ef7d9bce9f0dfaa02a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment