Пример #1
0
 private void HandleSceneChange()
 {
     sceneTurned  = scene.GetTurnedScene(tetax, tetay, tetaz);
     zbuf         = new Zbuffer(sceneTurned, canvas.Size, currentSun);
     canvas.Image = zbuf.AddShadows();
 }
Пример #2
0
 private void buttonViewShadows_Click(object sender, EventArgs e)
 {
     canvas.Image = zbuf.AddShadows();
 }