From 3bd3b0f9f691113cf234d720ffc63e8f309a5ed4 Mon Sep 17 00:00:00 2001 From: Recrown Date: Wed, 6 Feb 2019 00:12:39 -0600 Subject: [PATCH] Renamed Camera class to Camera3D. --- RecrownedAthenaeum/Camera/Camera2D.cs | 6 +++--- RecrownedAthenaeum/Camera/{Camera.cs => Camera3D.cs} | 4 ++-- RecrownedAthenaeum/RecrownedAthenaeum.csproj | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) rename RecrownedAthenaeum/Camera/{Camera.cs => Camera3D.cs} (97%) diff --git a/RecrownedAthenaeum/Camera/Camera2D.cs b/RecrownedAthenaeum/Camera/Camera2D.cs index b9f05cb..12c2329 100644 --- a/RecrownedAthenaeum/Camera/Camera2D.cs +++ b/RecrownedAthenaeum/Camera/Camera2D.cs @@ -5,9 +5,9 @@ using System; namespace RecrownedAthenaeum.Camera { /// - /// A virtual 2D camera that wraps the normal . Default projection is orthographic. + /// A virtual 2D camera that wraps the normal . Default projection is orthographic. /// - public class Camera2D : Camera + public class Camera2D : Camera3D { /// @@ -16,7 +16,7 @@ namespace RecrownedAthenaeum.Camera public Vector2 Position { get { return new Vector2(position.X, position.Y); } set { position.X = value.X; position.Y = value.Y; } } /// - /// A 2D camera from the generic . + /// A 2D camera from the generic . /// public Camera2D() : base() { diff --git a/RecrownedAthenaeum/Camera/Camera.cs b/RecrownedAthenaeum/Camera/Camera3D.cs similarity index 97% rename from RecrownedAthenaeum/Camera/Camera.cs rename to RecrownedAthenaeum/Camera/Camera3D.cs index ee52a9a..143b5c1 100644 --- a/RecrownedAthenaeum/Camera/Camera.cs +++ b/RecrownedAthenaeum/Camera/Camera3D.cs @@ -11,7 +11,7 @@ namespace RecrownedAthenaeum.Camera /// /// A generic 3D camera. /// - public class Camera + public class Camera3D { /// /// Current position in the world. @@ -57,7 +57,7 @@ namespace RecrownedAthenaeum.Camera /// Constructs 3D camera with an orthographic projection matrix with dimensions of graphics devices viewport. All changes to matrices should have apply called after changes. /// /// The graphics device to use. Will use graphics device from 's graphics device manager if this is null which it is by default. - public Camera(GraphicsDevice graphicsDevice = null) + public Camera3D(GraphicsDevice graphicsDevice = null) { this.graphicsDevice = graphicsDevice ?? (Configuration.GraphicsDeviceManager.GraphicsDevice); diff --git a/RecrownedAthenaeum/RecrownedAthenaeum.csproj b/RecrownedAthenaeum/RecrownedAthenaeum.csproj index 076d410..9f64889 100644 --- a/RecrownedAthenaeum/RecrownedAthenaeum.csproj +++ b/RecrownedAthenaeum/RecrownedAthenaeum.csproj @@ -51,7 +51,7 @@ - +