Ejemplo n.º 1
0
        private Camera CreateCamera()
        {
            var camera = new Camera();
            camera.Position = new Vector3(0, -50, 0);

            camera.LookAt(
                new Vector3(0, 0, 0),
                new Vector3(0, 0, 1)
            );

            return camera;
        }
Ejemplo n.º 2
0
 public Scene(Camera camera)
 {
     Camera = camera;
     Lights = new List<Light>();
 }