Ejemplo n.º 1
0
 public void Draw(Scene scene, Matrix world, Matrix view, Matrix projection, TextureCube reflectionTexture, Vector3 cameraPosition, RenderPass pass)
 {
     foreach (AbstractEntity entity in scene.Entities)
     {
         entity.Draw(world, view, projection, reflectionTexture, cameraPosition, pass);
     }
 }
Ejemplo n.º 2
0
 public SceneManager(Game game)
 {
     this.game = game;
     this.currentScene = new Scene(game);
 }