s.setOrientation(GLU.GLU_OUTSIDE); // normals point outwards
s.setTextureFlag(true); // generate texture coords
GL11.glPushMatrix();
{
GL11.glRotatef(-90f, 1,0,0); // rotate the sphere to align the axis vertically
s.draw(1, facets, facets); // run GL commands to draw sphere
}
GL11.glPopMatrix();
}
/**