Beispiel #1
0
 public MainForm()
 {
     InitializeComponent();
     sw = Stopwatch.StartNew();
     camera = new Camera(new Point3D(0,100,0), Vector3D.UnitZ, -1*Vector3D.UnitY);
     LoadSettings();
     Closing += (sender, args) => SaveSettings();
 }
Beispiel #2
0
 private void resetCameraButton_Click(object sender, EventArgs e)
 {
     camera = new Camera(new Point3D(0, 100, 0), Vector3D.UnitZ, -1 * Vector3D.UnitY);
 }