Skip to content

Commit

Permalink
Rename Hypercube.Math to Hypercube.Mathematics
Browse files Browse the repository at this point in the history
  • Loading branch information
Tornado-Technology committed Aug 16, 2024
1 parent 242109c commit 7dce3a1
Show file tree
Hide file tree
Showing 89 changed files with 146 additions and 146 deletions.
4 changes: 2 additions & 2 deletions Hypercube.Client/Entities/Systems/Physics/PhysicsSystem.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Hypercube.Client.Graphics.Events;
using Hypercube.Client.Graphics.Rendering;
using Hypercube.Dependencies;
using Hypercube.Math;
using Hypercube.Math.Shapes;
using Hypercube.Mathematics;
using Hypercube.Mathematics.Shapes;
using Hypercube.Shared.Entities.Systems.Physics;
using Hypercube.Shared.Physics;
using SharedPhysicsSystem = Hypercube.Shared.Entities.Systems.Physics.PhysicsSystem;
Expand Down
4 changes: 2 additions & 2 deletions Hypercube.Client/Entities/Systems/Sprite/SpriteComponent.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Hypercube.Client.Graphics.Texturing;
using Hypercube.Shared.Entities.Realisation.Components;
using Hypercube.Math;
using Hypercube.Math.Transforms;
using Hypercube.Mathematics;
using Hypercube.Mathematics.Transforms;
using Hypercube.Shared.Resources;

namespace Hypercube.Client.Entities.Systems.Sprite;
Expand Down
4 changes: 2 additions & 2 deletions Hypercube.Client/Entities/Systems/Sprite/SpriteSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using Hypercube.Client.Graphics.Rendering;
using Hypercube.Client.Graphics.Texturing;
using Hypercube.Dependencies;
using Hypercube.Math.Shapes;
using Hypercube.Math.Transforms;
using Hypercube.Mathematics.Shapes;
using Hypercube.Mathematics.Transforms;
using Hypercube.Shared.Entities.Realisation;
using Hypercube.Shared.Entities.Realisation.Events;
using Hypercube.Shared.Entities.Realisation.Systems;
Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Client/Graphics/Drawing/Batch.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Hypercube.Math.Matrices;
using Hypercube.Mathematics.Matrices;
using OpenToolkit.Graphics.OpenGL4;

namespace Hypercube.Client.Graphics.Drawing;
Expand Down
4 changes: 2 additions & 2 deletions Hypercube.Client/Graphics/Drawing/Vertex.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
using Hypercube.Math;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Client.Graphics.Drawing;

Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Client/Graphics/Monitors/IMonitorHandle.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Client.Graphics.Monitors;

Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Client/Graphics/Monitors/MonitorHandle.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Client.Graphics.Monitors;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Hypercube.Client.Graphics.Drawing;
using Hypercube.Client.Graphics.Texturing;
using Hypercube.Math;
using Hypercube.Math.Matrices;
using Hypercube.Math.Shapes;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics;
using Hypercube.Mathematics.Matrices;
using Hypercube.Mathematics.Shapes;
using Hypercube.Mathematics.Vectors;
using OpenToolkit.Graphics.OpenGL4;
namespace Hypercube.Client.Graphics.Realisation.OpenGL.Rendering;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
using Hypercube.Client.Resources.Caching;
using Hypercube.Graphics.Shaders;
using Hypercube.Graphics.Windowing;
using Hypercube.Math;
using Hypercube.Math.Matrices;
using Hypercube.Mathematics;
using Hypercube.Mathematics.Matrices;
using Hypercube.OpenGL.Objects;
using Hypercube.Shared.Runtimes.Loop.Event;
using OpenToolkit.Graphics.OpenGL4;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Hypercube.Client.Graphics.Texturing;
using Hypercube.Math.Shapes;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Shapes;
using Hypercube.Mathematics.Vectors;
using Hypercube.Shared.Resources;

namespace Hypercube.Client.Graphics.Realisation.OpenGL.Texturing;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Hypercube.Client.Graphics.Texturing;
using Hypercube.Client.Graphics.Texturing.Settings;
using Hypercube.Dependencies;
using Hypercube.Math;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics;
using Hypercube.Mathematics.Vectors;
using Hypercube.Shared.Resources;
using Hypercube.Shared.Resources.Manager;
using StbImageSharp;
Expand Down
8 changes: 4 additions & 4 deletions Hypercube.Client/Graphics/Rendering/IRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
using Hypercube.Client.Graphics.Texturing;
using Hypercube.Client.Graphics.Windows;
using Hypercube.Graphics.Windowing;
using Hypercube.Math;
using Hypercube.Math.Matrices;
using Hypercube.Math.Shapes;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics;
using Hypercube.Mathematics.Matrices;
using Hypercube.Mathematics.Shapes;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Client.Graphics.Rendering;

Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Client/Graphics/Texturing/ITexture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Hypercube.Math.Shapes;
using Hypercube.Mathematics.Shapes;
using Hypercube.Shared.Resources;

namespace Hypercube.Client.Graphics.Texturing;
Expand Down
4 changes: 2 additions & 2 deletions Hypercube.Client/Graphics/Texturing/ITextureManager.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Hypercube.Client.Graphics.Texturing.Settings;
using Hypercube.Math;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics;
using Hypercube.Mathematics.Vectors;
using Hypercube.Shared.Resources;

namespace Hypercube.Client.Graphics.Texturing;
Expand Down
8 changes: 4 additions & 4 deletions Hypercube.Client/Graphics/Viewports/Camera2D.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Hypercube.Math;
using Hypercube.Math.Matrices;
using Hypercube.Math.Transforms;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics;
using Hypercube.Mathematics.Matrices;
using Hypercube.Mathematics.Transforms;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Client.Graphics.Viewports;

Expand Down
4 changes: 2 additions & 2 deletions Hypercube.Client/Graphics/Viewports/CameraManager.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Hypercube.Client.Input.Handler;
using Hypercube.Dependencies;
using Hypercube.Input;
using Hypercube.Math.Matrices;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Matrices;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Client.Graphics.Viewports;

Expand Down
4 changes: 2 additions & 2 deletions Hypercube.Client/Graphics/Viewports/ICamera.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Hypercube.Math.Matrices;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Matrices;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Client.Graphics.Viewports;

Expand Down
4 changes: 2 additions & 2 deletions Hypercube.Client/Graphics/Viewports/ICameraManager.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Hypercube.Math.Matrices;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Matrices;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Client.Graphics.Viewports;

Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Client/Graphics/Windows/IWindowManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Hypercube.Client.Graphics.Realisation.OpenGL;
using Hypercube.Client.Graphics.Texturing;
using Hypercube.Graphics.Windowing;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;
using Hypercube.Shared.Resources;
using Hypercube.Shared.Resources.Manager;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Hypercube.Client.Input.Events.Windowing;
using Hypercube.EventBus.Events;
using Hypercube.Input;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;
using Hypercube.OpenGL.Utilities.Helpers;
using OpenTK.Windowing.GraphicsLibraryFramework;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Hypercube.Client.Graphics.Realisation.OpenGL;
using Hypercube.Client.Graphics.Texturing;
using Hypercube.Graphics.Windowing;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;
using Hypercube.OpenGL.Utilities.Helpers;
using Hypercube.Shared.Resources;
using Hypercube.Shared.Resources.Manager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Hypercube.Dependencies;
using Hypercube.EventBus;
using Hypercube.Graphics.Windowing;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;
using Hypercube.Shared.Logging;
using OpenTK.Windowing.GraphicsLibraryFramework;

Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Client/Graphics/Windows/WindowCreateSettings.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Hypercube.Client.Graphics.Monitors;
using Hypercube.Client.Graphics.Texturing;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Client.Graphics.Windows;

Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Client/Hypercube.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<ItemGroup>
<ProjectReference Include="..\Hypercube.ImGui\Hypercube.ImGui.csproj" />
<ProjectReference Include="..\Hypercube.Math\Hypercube.Math.csproj" />
<ProjectReference Include="..\Hypercube.Mathematics\Hypercube.Mathematics.csproj" />
<ProjectReference Include="..\Hypercube.OpenGL\Hypercube.OpenGL.csproj" />
<ProjectReference Include="..\Hypercube.Shared\Hypercube.Shared.csproj" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Client/Input/Events/ScrollHandledEvent.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Hypercube.EventBus.Events;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;
using JetBrains.Annotations;

namespace Hypercube.Client.Input.Events;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Hypercube.EventBus.Events;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Client.Input.Events.Windowing;

Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Example.Client/Controls/ControlsSystem.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Hypercube.Client.Input.Handler;
using Hypercube.Dependencies;
using Hypercube.Input;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;
using Hypercube.Shared.Entities.Realisation.Systems;
using Hypercube.Shared.Entities.Systems.Physics;
using Hypercube.Shared.Runtimes.Loop.Event;
Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Example.Client/Example.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Hypercube.Dependencies;
using Hypercube.EventBus;
using Hypercube.Example.Client.Controls;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;
using Hypercube.Shared.Entities.Realisation.Manager;
using Hypercube.Shared.Entities.Systems.Physics;
using Hypercube.Shared.Entities.Systems.Transform.Coordinates;
Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Example.Client/ExampleSystem.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Hypercube.Client.Entities.Systems.Sprite;
using Hypercube.Dependencies;
using Hypercube.Math;
using Hypercube.Mathematics;
using Hypercube.Shared.Entities.Realisation.Systems;
using Hypercube.Shared.Runtimes.Loop.Event;
using Hypercube.Shared.Timing;
Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Graphics/Hypercube.Graphics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Hypercube.Math\Hypercube.Math.csproj" />
<ProjectReference Include="..\Hypercube.Mathematics\Hypercube.Mathematics.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Hypercube.Graphics/Shaders/IShaderProgram.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Hypercube.Math.Matrices;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Matrices;
using Hypercube.Mathematics.Vectors;
using JetBrains.Annotations;

namespace Hypercube.Graphics.Shaders;
Expand Down
2 changes: 1 addition & 1 deletion Hypercube.Graphics/Windowing/WindowHandle.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Runtime.CompilerServices;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;
using JetBrains.Annotations;

namespace Hypercube.Graphics.Windowing;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.ImGui.Implementations;

Expand Down
4 changes: 2 additions & 2 deletions Hypercube.ImGui/Implementations/GlfwImGuiController.Render.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.CompilerServices;
using Hypercube.Math.Matrices;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Matrices;
using Hypercube.Mathematics.Vectors;
using ImGuiNET;
using OpenToolkit.Graphics.OpenGL4;

Expand Down
8 changes: 0 additions & 8 deletions Hypercube.Math/Transforms/ITransform.cs

This file was deleted.

6 changes: 3 additions & 3 deletions Hypercube.Math/Angle.cs → Hypercube.Mathematics/Angle.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Runtime.CompilerServices;
using Hypercube.Math.Extensions;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Extensions;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Math;
namespace Hypercube.Mathematics;

public readonly struct Angle : IEquatable<Angle>, IEquatable<double>
{
Expand Down
4 changes: 2 additions & 2 deletions Hypercube.Math/Color.cs → Hypercube.Mathematics/Color.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Globalization;
using System.Runtime.InteropServices;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Math;
namespace Hypercube.Mathematics;

[StructLayout(LayoutKind.Sequential)]
public readonly struct Color
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Hypercube.Math.Extensions;
namespace Hypercube.Mathematics.Extensions;

public static class FloatingPointEqualsExtension
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Hypercube.Math;
namespace Hypercube.Mathematics;

public static class HyperMath
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Hypercube.Math;
namespace Hypercube.Mathematics;

public static class HyperMathF
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.CompilerServices;

namespace Hypercube.Math.Matrices;
namespace Hypercube.Mathematics.Matrices;

public partial struct Matrix3X2
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Runtime.CompilerServices;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Math.Matrices;
namespace Hypercube.Mathematics.Matrices;

public partial struct Matrix3X2
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.CompilerServices;

namespace Hypercube.Math.Matrices;
namespace Hypercube.Mathematics.Matrices;

public partial struct Matrix3X3
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Hypercube.Math.Vectors;
using Hypercube.Mathematics.Vectors;

namespace Hypercube.Math.Matrices;
namespace Hypercube.Mathematics.Matrices;

// TODO: May be it's can be immutable
[StructLayout(LayoutKind.Sequential)]
Expand Down
Loading

0 comments on commit 7dce3a1

Please sign in to comment.