Пример #1
0
        protected override void Initialize()
        {
            graphics.PreferredBackBufferWidth = 1280;
            graphics.PreferredBackBufferHeight = 1024;

            graphics.ApplyChanges();
            Window.Title = "TerrainGen";
            land = new Terrain(300, 300);
            camera = new Camera(land);
            dome = new Skydome();

            base.Initialize();
        }
Пример #2
0
 public Camera(Terrain land)
 {
     this.land = land;
 }