From b7a805da9eaeabd9651b4f2f0de87fef303b9eaf Mon Sep 17 00:00:00 2001 From: Tada101 Date: Mon, 27 May 2024 11:19:47 +0200 Subject: [PATCH] Add project files. --- PveTeam.Math.sln | 25 +++++++++++++++++++++++++ PveTeam.Math/Matrix4x4D.cs | 13 +++++++++++++ PveTeam.Math/PveTeam.Math.csproj | 8 ++++++++ PveTeam.Math/QuaternionD.cs | 10 ++++++++++ PveTeam.Math/Vector3D.cs | 29 +++++++++++++++++++++++++++++ readme.md | 1 + 6 files changed, 86 insertions(+) create mode 100644 PveTeam.Math.sln create mode 100644 PveTeam.Math/Matrix4x4D.cs create mode 100644 PveTeam.Math/PveTeam.Math.csproj create mode 100644 PveTeam.Math/QuaternionD.cs create mode 100644 PveTeam.Math/Vector3D.cs create mode 100644 readme.md diff --git a/PveTeam.Math.sln b/PveTeam.Math.sln new file mode 100644 index 0000000..4571458 --- /dev/null +++ b/PveTeam.Math.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34309.116 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PveTeam.Math", "PveTeam.Math\PveTeam.Math.csproj", "{D875C780-DB5A-4252-94DE-6C6BA7C78A0F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D875C780-DB5A-4252-94DE-6C6BA7C78A0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D875C780-DB5A-4252-94DE-6C6BA7C78A0F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D875C780-DB5A-4252-94DE-6C6BA7C78A0F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D875C780-DB5A-4252-94DE-6C6BA7C78A0F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D629AF92-13DF-4560-9245-41A14AA9781C} + EndGlobalSection +EndGlobal diff --git a/PveTeam.Math/Matrix4x4D.cs b/PveTeam.Math/Matrix4x4D.cs new file mode 100644 index 0000000..0881648 --- /dev/null +++ b/PveTeam.Math/Matrix4x4D.cs @@ -0,0 +1,13 @@ +using System; +using System.Numerics; + +namespace PveTeam.Math +{ + public struct Matrix4x4D : IEquatable + { + public Double M11, M12, M13, M14, + M21, M22, M23, M24, + M31, M32, M33, M34, + M41, M42, M43, M44; + } +} diff --git a/PveTeam.Math/PveTeam.Math.csproj b/PveTeam.Math/PveTeam.Math.csproj new file mode 100644 index 0000000..b4b43f4 --- /dev/null +++ b/PveTeam.Math/PveTeam.Math.csproj @@ -0,0 +1,8 @@ + + + + netstandard2.1 + enable + + + diff --git a/PveTeam.Math/QuaternionD.cs b/PveTeam.Math/QuaternionD.cs new file mode 100644 index 0000000..c2cd134 --- /dev/null +++ b/PveTeam.Math/QuaternionD.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace PveTeam.Math +{ + public struct QuaternionD + { + } +} diff --git a/PveTeam.Math/Vector3D.cs b/PveTeam.Math/Vector3D.cs new file mode 100644 index 0000000..f03a909 --- /dev/null +++ b/PveTeam.Math/Vector3D.cs @@ -0,0 +1,29 @@ +using System.Numerics; +using System; + +namespace PveTeam.Math +{ + public struct Vector3D : IEquatable, IFormattable + { + public Double X, Y, Z; + + public Vector3D(double value) : this(value, value, value) { } + + public Vector3D(Double x, Double y, Double z) + { + X = x; + Y = y; + Z = z; + } + + public bool Equals(Vector3 other) + { + throw new NotImplementedException(); + } + + public string ToString(string format, IFormatProvider formatProvider) + { + throw new NotImplementedException(); + } + } +} diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..8232e27 --- /dev/null +++ b/readme.md @@ -0,0 +1 @@ +no hardware acceleration but useful to not be bound to keen faggotery \ No newline at end of file