diff --git a/Camera.cs b/Cameras/Camera.cs similarity index 100% rename from Camera.cs rename to Cameras/Camera.cs diff --git a/ModelLoader.cs b/Loaders/ModelLoader.cs similarity index 100% rename from ModelLoader.cs rename to Loaders/ModelLoader.cs diff --git a/Renderer.cs b/Renderer.cs index 6bc9705..dab71d3 100644 --- a/Renderer.cs +++ b/Renderer.cs @@ -5,11 +5,6 @@ namespace Kav { public static class Renderer { - public static void Render(GraphicsDevice graphicsDevice, SceneData sceneData) - { - Render(graphicsDevice, sceneData.Camera, sceneData.Models, sceneData.PointLights); - } - public static void Render(GraphicsDevice graphicsDevice, Camera camera, IEnumerable models, IEnumerable pointLights) { var view = camera.View; diff --git a/SceneData.cs b/SceneData.cs deleted file mode 100644 index a2b32a1..0000000 --- a/SceneData.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Collections.Generic; - -namespace Kav -{ - public class SceneData - { - private readonly PointLight[] pointLights = new PointLight[4]; - private readonly List models = new List(); - - public Camera Camera { get; set; } - public IEnumerable Models { get { return models; } } - public IEnumerable PointLights { get { return pointLights; } } - - public void AddPointLight(int index, PointLight light) - { - pointLights[index] = light; - } - - public void AddModel(Model model) - { - models.Add(model); - } - } -}