Ejemplo n.º 1
0
        private void AddSphere(Point3d point, float radius, Color color, float specular = 0, float reflective = 0, float transparent = 0)
        {
            var sphere = new Polyhedron();

            sphere.MakeSphere(point, radius);
            sphere.color       = color;
            sphere.specular    = specular;
            sphere.reflective  = reflective;
            sphere.transparent = transparent;
            polyhedrons.Add(sphere);
        }