glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glEnable(GL_TEXTURE_2D);
glPushMatrix();
tex.bind();
glTranslatef(Math.worldToScreen(wc_position.x(),viewport.getLeft()), Math.worldToScreen(wc_position.y(),viewport.getTop()), 0f);
glRotatef(rotation, 0, 0, 1.0f);
//glTranslatef(-texture.getImageWidth()/2, -texture.getImageHeight()/2, 0);