Add project files.
This commit is contained in:
25
PveTeam.Math.sln
Normal file
25
PveTeam.Math.sln
Normal file
@@ -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
|
13
PveTeam.Math/Matrix4x4D.cs
Normal file
13
PveTeam.Math/Matrix4x4D.cs
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
using System.Numerics;
|
||||||
|
|
||||||
|
namespace PveTeam.Math
|
||||||
|
{
|
||||||
|
public struct Matrix4x4D : IEquatable<Matrix4x4>
|
||||||
|
{
|
||||||
|
public Double M11, M12, M13, M14,
|
||||||
|
M21, M22, M23, M24,
|
||||||
|
M31, M32, M33, M34,
|
||||||
|
M41, M42, M43, M44;
|
||||||
|
}
|
||||||
|
}
|
8
PveTeam.Math/PveTeam.Math.csproj
Normal file
8
PveTeam.Math/PveTeam.Math.csproj
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.1</TargetFramework>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
10
PveTeam.Math/QuaternionD.cs
Normal file
10
PveTeam.Math/QuaternionD.cs
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace PveTeam.Math
|
||||||
|
{
|
||||||
|
public struct QuaternionD
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
29
PveTeam.Math/Vector3D.cs
Normal file
29
PveTeam.Math/Vector3D.cs
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
using System.Numerics;
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace PveTeam.Math
|
||||||
|
{
|
||||||
|
public struct Vector3D : IEquatable<Vector3>, 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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user