glTexCoord2f(coords[0], coords[1]);
glVertex3(state.position[0]-s, state.position[1]-s, z);
glTexCoord2f(coords[2], coords[3]);
glTexCoord2f(coords[0], coords[1]);
glVertex3(state.position[0]-s, state.position[1]-s, z);
glTexCoord2f(coords[2], coords[3]);