VisualPOVRAY.Form1.Form1 C# (CSharp) Method

Form1() public method

public Form1 ( ) : System
return System
        public Form1()
        {
            InitializeComponent();
            cam = new Camera(new Point3(0, 2, -3), new Point3(0, 1, 2));
            frame = new Frame(cam, "Cyan");
            frame.addInclude("colors.inc");
            l = Light.pointLight(new Point3(2, 4, -3));
            frame.add(l);
            Event e = f.event1(2, eve);
            frame.addEvent(e);
            frame.addEvent(f.event1(2, add));
            frame.add(f.sphere(f.p3(0, 1, 2, reactive: true), rrad: f.integral(f.lift0(1f), .5f), reactive: true));
            frame.start(30, 20);
        }