// Draws a sphere with radius "r" and n controls tesselation level void CreateSphere(double r,int n) { int i,j; double theta1,theta2,theta3; double e[3],p[3]; if (r < 0) return; if (n < 4) return; for (j=0;j