示例#1
0
        public void glutSolidSphere(double radius, int slices, int stacks)
        {
            Glu.QuadricDrawStyle(quadObj, QuadricDrawStyle.Fill);
            Glu.QuadricNormal(quadObj, QuadricNormal.Smooth);

            /* If we ever changed/used the texture or orientation state
             * of quadObj, we'd need to change it to the defaults here
             * with gluQuadricTexture and/or gluQuadricOrientation. */
            Glu.Sphere(quadObj, radius, slices, stacks);
        }