From f166b3b0ac33bea82d668b6728366fb1c68bd10b Mon Sep 17 00:00:00 2001 From: Tornado Tech <54727692+Tornado-Technology@users.noreply.github.com> Date: Thu, 18 Jul 2024 13:53:28 +1000 Subject: [PATCH] Rename Matrixs to Matrices --- Hypercube.Client/Graphics/Drawing/Batch.cs | 2 +- .../Graphics/Realisation/OpenGL/Rendering/Renderer.Drawing.cs | 2 +- .../Graphics/Realisation/OpenGL/Shaders/ShaderProgram.cs | 2 +- Hypercube.Client/Graphics/Rendering/IRenderer.cs | 2 +- Hypercube.Client/Graphics/Shaders/IShaderProgram.cs | 2 +- Hypercube.Client/Graphics/Viewports/Camera2D.cs | 2 +- Hypercube.Client/Graphics/Viewports/CameraManager.cs | 2 +- Hypercube.Client/Graphics/Viewports/ICamera.cs | 2 +- Hypercube.Client/Graphics/Viewports/ICameraManager.cs | 2 +- Hypercube.Math/{Matrixs => Matrices}/Matrix3X3.Compatibility.cs | 2 +- Hypercube.Math/{Matrixs => Matrices}/Matrix3X3.cs | 2 +- Hypercube.Math/{Matrixs => Matrices}/Matrix4X4.Compatibility.cs | 2 +- Hypercube.Math/{Matrixs => Matrices}/Matrix4X4.cs | 2 +- Hypercube.Math/Transforms/ITransform.cs | 2 +- Hypercube.Math/Transforms/Transform2.cs | 2 +- Hypercube.Math/Transforms/Transform3.cs | 2 +- Hypercube.Shared/Physics/Raycasting/Ray.cs | 2 +- Hypercube.UnitTests/Math/Matrix4X4Test.cs | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) rename Hypercube.Math/{Matrixs => Matrices}/Matrix3X3.Compatibility.cs (96%) rename Hypercube.Math/{Matrixs => Matrices}/Matrix3X3.cs (99%) rename Hypercube.Math/{Matrixs => Matrices}/Matrix4X4.Compatibility.cs (98%) rename Hypercube.Math/{Matrixs => Matrices}/Matrix4X4.cs (99%) diff --git a/Hypercube.Client/Graphics/Drawing/Batch.cs b/Hypercube.Client/Graphics/Drawing/Batch.cs index 2d14bd6..bcfcd23 100644 --- a/Hypercube.Client/Graphics/Drawing/Batch.cs +++ b/Hypercube.Client/Graphics/Drawing/Batch.cs @@ -1,4 +1,4 @@ -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; using OpenToolkit.Graphics.OpenGL4; namespace Hypercube.Client.Graphics.Drawing; diff --git a/Hypercube.Client/Graphics/Realisation/OpenGL/Rendering/Renderer.Drawing.cs b/Hypercube.Client/Graphics/Realisation/OpenGL/Rendering/Renderer.Drawing.cs index 1546811..9c97b44 100644 --- a/Hypercube.Client/Graphics/Realisation/OpenGL/Rendering/Renderer.Drawing.cs +++ b/Hypercube.Client/Graphics/Realisation/OpenGL/Rendering/Renderer.Drawing.cs @@ -1,7 +1,7 @@ using Hypercube.Client.Graphics.Drawing; using Hypercube.Client.Graphics.Texturing; using Hypercube.Math; -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; using Hypercube.Math.Shapes; using OpenTK.Mathematics; using OpenToolkit.Graphics.OpenGL4; diff --git a/Hypercube.Client/Graphics/Realisation/OpenGL/Shaders/ShaderProgram.cs b/Hypercube.Client/Graphics/Realisation/OpenGL/Shaders/ShaderProgram.cs index 3d87d08..3199ada 100644 --- a/Hypercube.Client/Graphics/Realisation/OpenGL/Shaders/ShaderProgram.cs +++ b/Hypercube.Client/Graphics/Realisation/OpenGL/Shaders/ShaderProgram.cs @@ -1,6 +1,6 @@ using System.Collections.Frozen; using Hypercube.Client.Graphics.Shaders; -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; using Hypercube.Math.Vectors; using Hypercube.Shared.Resources; using Hypercube.Shared.Resources.Manager; diff --git a/Hypercube.Client/Graphics/Rendering/IRenderer.cs b/Hypercube.Client/Graphics/Rendering/IRenderer.cs index 83717e7..b70cf4c 100644 --- a/Hypercube.Client/Graphics/Rendering/IRenderer.cs +++ b/Hypercube.Client/Graphics/Rendering/IRenderer.cs @@ -2,7 +2,7 @@ using Hypercube.Client.Graphics.Texturing; using Hypercube.Client.Graphics.Windows; using Hypercube.Math; -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; using Hypercube.Math.Shapes; using Hypercube.Math.Vectors; diff --git a/Hypercube.Client/Graphics/Shaders/IShaderProgram.cs b/Hypercube.Client/Graphics/Shaders/IShaderProgram.cs index ee5fd13..5ca17fb 100644 --- a/Hypercube.Client/Graphics/Shaders/IShaderProgram.cs +++ b/Hypercube.Client/Graphics/Shaders/IShaderProgram.cs @@ -1,4 +1,4 @@ -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; using Hypercube.Math.Vectors; namespace Hypercube.Client.Graphics.Shaders; diff --git a/Hypercube.Client/Graphics/Viewports/Camera2D.cs b/Hypercube.Client/Graphics/Viewports/Camera2D.cs index 331cb6f..d4e77da 100644 --- a/Hypercube.Client/Graphics/Viewports/Camera2D.cs +++ b/Hypercube.Client/Graphics/Viewports/Camera2D.cs @@ -1,5 +1,5 @@ using Hypercube.Math; -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; using Hypercube.Math.Transforms; using Hypercube.Math.Vectors; diff --git a/Hypercube.Client/Graphics/Viewports/CameraManager.cs b/Hypercube.Client/Graphics/Viewports/CameraManager.cs index 6f0ad55..f8ad3bc 100644 --- a/Hypercube.Client/Graphics/Viewports/CameraManager.cs +++ b/Hypercube.Client/Graphics/Viewports/CameraManager.cs @@ -1,6 +1,6 @@ using Hypercube.Client.Input; using Hypercube.Client.Input.Handler; -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; using Hypercube.Math.Vectors; using Hypercube.Shared.Dependency; diff --git a/Hypercube.Client/Graphics/Viewports/ICamera.cs b/Hypercube.Client/Graphics/Viewports/ICamera.cs index 369cff8..2dff12d 100644 --- a/Hypercube.Client/Graphics/Viewports/ICamera.cs +++ b/Hypercube.Client/Graphics/Viewports/ICamera.cs @@ -1,4 +1,4 @@ -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; using Hypercube.Math.Vectors; namespace Hypercube.Client.Graphics.Viewports; diff --git a/Hypercube.Client/Graphics/Viewports/ICameraManager.cs b/Hypercube.Client/Graphics/Viewports/ICameraManager.cs index 5581bf8..d38cf10 100644 --- a/Hypercube.Client/Graphics/Viewports/ICameraManager.cs +++ b/Hypercube.Client/Graphics/Viewports/ICameraManager.cs @@ -1,4 +1,4 @@ -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; using Hypercube.Math.Vectors; namespace Hypercube.Client.Graphics.Viewports; diff --git a/Hypercube.Math/Matrixs/Matrix3X3.Compatibility.cs b/Hypercube.Math/Matrices/Matrix3X3.Compatibility.cs similarity index 96% rename from Hypercube.Math/Matrixs/Matrix3X3.Compatibility.cs rename to Hypercube.Math/Matrices/Matrix3X3.Compatibility.cs index eee9baa..7a6e40c 100644 --- a/Hypercube.Math/Matrixs/Matrix3X3.Compatibility.cs +++ b/Hypercube.Math/Matrices/Matrix3X3.Compatibility.cs @@ -1,7 +1,7 @@ using System.Runtime.CompilerServices; using OpenTK.Mathematics; -namespace Hypercube.Math.Matrixs; +namespace Hypercube.Math.Matrices; public partial struct Matrix3X3 { diff --git a/Hypercube.Math/Matrixs/Matrix3X3.cs b/Hypercube.Math/Matrices/Matrix3X3.cs similarity index 99% rename from Hypercube.Math/Matrixs/Matrix3X3.cs rename to Hypercube.Math/Matrices/Matrix3X3.cs index fe361e9..0859ed6 100644 --- a/Hypercube.Math/Matrixs/Matrix3X3.cs +++ b/Hypercube.Math/Matrices/Matrix3X3.cs @@ -2,7 +2,7 @@ using System.Runtime.InteropServices; using Hypercube.Math.Vectors; -namespace Hypercube.Math.Matrixs; +namespace Hypercube.Math.Matrices; // TODO: May be it's can be immutable [StructLayout(LayoutKind.Sequential)] diff --git a/Hypercube.Math/Matrixs/Matrix4X4.Compatibility.cs b/Hypercube.Math/Matrices/Matrix4X4.Compatibility.cs similarity index 98% rename from Hypercube.Math/Matrixs/Matrix4X4.Compatibility.cs rename to Hypercube.Math/Matrices/Matrix4X4.Compatibility.cs index b9db18f..5016bda 100644 --- a/Hypercube.Math/Matrixs/Matrix4X4.Compatibility.cs +++ b/Hypercube.Math/Matrices/Matrix4X4.Compatibility.cs @@ -1,6 +1,6 @@ using System.Runtime.CompilerServices; -namespace Hypercube.Math.Matrixs; +namespace Hypercube.Math.Matrices; public partial struct Matrix4X4 { diff --git a/Hypercube.Math/Matrixs/Matrix4X4.cs b/Hypercube.Math/Matrices/Matrix4X4.cs similarity index 99% rename from Hypercube.Math/Matrixs/Matrix4X4.cs rename to Hypercube.Math/Matrices/Matrix4X4.cs index e99ae14..de21d0e 100644 --- a/Hypercube.Math/Matrixs/Matrix4X4.cs +++ b/Hypercube.Math/Matrices/Matrix4X4.cs @@ -4,7 +4,7 @@ using Hypercube.Math.Transforms; using Hypercube.Math.Vectors; -namespace Hypercube.Math.Matrixs; +namespace Hypercube.Math.Matrices; [StructLayout(LayoutKind.Sequential)] public partial struct Matrix4X4 : IEquatable diff --git a/Hypercube.Math/Transforms/ITransform.cs b/Hypercube.Math/Transforms/ITransform.cs index 36fc726..25a5638 100644 --- a/Hypercube.Math/Transforms/ITransform.cs +++ b/Hypercube.Math/Transforms/ITransform.cs @@ -1,4 +1,4 @@ -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; namespace Hypercube.Math.Transforms; diff --git a/Hypercube.Math/Transforms/Transform2.cs b/Hypercube.Math/Transforms/Transform2.cs index 1502cfc..6b5bd39 100644 --- a/Hypercube.Math/Transforms/Transform2.cs +++ b/Hypercube.Math/Transforms/Transform2.cs @@ -1,4 +1,4 @@ -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; using Hypercube.Math.Vectors; namespace Hypercube.Math.Transforms; diff --git a/Hypercube.Math/Transforms/Transform3.cs b/Hypercube.Math/Transforms/Transform3.cs index d34b140..9047452 100644 --- a/Hypercube.Math/Transforms/Transform3.cs +++ b/Hypercube.Math/Transforms/Transform3.cs @@ -1,4 +1,4 @@ -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; using Hypercube.Math.Vectors; namespace Hypercube.Math.Transforms; diff --git a/Hypercube.Shared/Physics/Raycasting/Ray.cs b/Hypercube.Shared/Physics/Raycasting/Ray.cs index b7daaf5..478b3b3 100644 --- a/Hypercube.Shared/Physics/Raycasting/Ray.cs +++ b/Hypercube.Shared/Physics/Raycasting/Ray.cs @@ -1,4 +1,4 @@ -namespace Hypercube.Shared.Physics; +namespace Hypercube.Shared.Physics.Raycasting; public struct Ray { diff --git a/Hypercube.UnitTests/Math/Matrix4X4Test.cs b/Hypercube.UnitTests/Math/Matrix4X4Test.cs index 753137d..a474fff 100644 --- a/Hypercube.UnitTests/Math/Matrix4X4Test.cs +++ b/Hypercube.UnitTests/Math/Matrix4X4Test.cs @@ -1,4 +1,4 @@ -using Hypercube.Math.Matrixs; +using Hypercube.Math.Matrices; using Hypercube.Math.Vectors; namespace Hypercube.UnitTests.Math;