gl.glTexCoord2f(texRight, texBottom);
gl.glVertex2f(width, height);
gl.glTexCoord2f(texLeft, texBottom);
gl.glVertex2f(0, height);
}
public void drawImage(ch.blackspirit.graphics.Image image, float width, float height, int subImageX, int subImageY, int subImageWidth, int subImageHeight, Flip flip) {
if (image == null) throw new IllegalArgumentException("image must not be null");