enmergency update on 20230213 by nitload youmu, fix a file damage
This commit is contained in:
@@ -12,7 +12,7 @@ internal class Program
|
||||
/**/
|
||||
|
||||
/*
|
||||
float test = StgSharp.Math.ACos(0.5f);
|
||||
float test = StgSharp.Math.Calc.ATan(-1f,-1f);
|
||||
Console.WriteLine(test);
|
||||
/**/
|
||||
|
||||
@@ -26,7 +26,7 @@ internal class Program
|
||||
stopwatch.Start(); // 开始监视代码运行时间
|
||||
for (float i = 2; i < time; i++)
|
||||
{
|
||||
a = StgSharp.Math.ACos(i/500000-1);
|
||||
a = StgSharp.Math.ATan(i);
|
||||
}
|
||||
stopwatch.Stop(); // 停止监视
|
||||
TimeSpan timespan = stopwatch.Elapsed; // 获取当前实例测量得出的总时间
|
||||
@@ -40,7 +40,7 @@ internal class Program
|
||||
stopwatch1.Start();
|
||||
for (float i = 2; i < time2; i++)
|
||||
{
|
||||
b = System.MathF.Acos(i / 500000 - 1);
|
||||
b = System.MathF.Atan(i);
|
||||
}
|
||||
stopwatch1.Stop();
|
||||
timespan = stopwatch1.Elapsed;
|
||||
@@ -54,11 +54,11 @@ internal class Program
|
||||
/*
|
||||
//精度测试
|
||||
double accuracy = 0;
|
||||
for (float i = -10f; i < 200f; i += 0.01f)
|
||||
for (float i = -200f; i < 200f; i += 0.01f)
|
||||
{
|
||||
|
||||
double r1 = StgSharp.Math.ACos(i/100);
|
||||
double r2 = 180*System.Math.Acos(i/100)/3.1415926;
|
||||
double r1 = StgSharp.Math.ATan(i);
|
||||
double r2 = 180*System.Math.Atan(i)/3.1415926;
|
||||
double ac = ( System.Math.Max(r1,r2)- System.Math.Min(r1, r2) ) / r2;
|
||||
if (ac>accuracy)
|
||||
{
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -8,7 +8,16 @@
|
||||
<summary>
|
||||
Reurns the value of ArcSin(x)
|
||||
</summary>
|
||||
<param name="x"></param>
|
||||
<param name="x">The sine value of the angle</param>
|
||||
<returns></returns>
|
||||
<exception cref="T:System.ArgumentException"></exception>
|
||||
</member>
|
||||
<member name="M:StgSharp.Math.ASin(System.Single,System.Single)">
|
||||
<summary>
|
||||
Returns the angle whose sine is the quotient of two specified numbers.
|
||||
</summary>
|
||||
<param name="x">The x coordinate of a point.</param>
|
||||
<param name="y">The y coordinate of a point.</param>
|
||||
<returns></returns>
|
||||
<exception cref="T:System.ArgumentException"></exception>
|
||||
</member>
|
||||
|
||||
@@ -35,10 +35,57 @@
|
||||
}
|
||||
},
|
||||
"Microsoft.CSharp/4.7.0": {},
|
||||
"Steamworks.NET/20.1.0": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"assemblyVersion": "20.1.0.0",
|
||||
"fileVersion": "20.1.0.0"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/linux-x64/lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"rid": "linux-x64",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "20.1.0.0",
|
||||
"fileVersion": "20.1.0.0"
|
||||
},
|
||||
"runtimes/linux-x86/lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"rid": "linux-x86",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "20.1.0.0",
|
||||
"fileVersion": "20.1.0.0"
|
||||
},
|
||||
"runtimes/osx-x64/lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"rid": "osx-x64",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "20.1.0.0",
|
||||
"fileVersion": "20.1.0.0"
|
||||
},
|
||||
"runtimes/osx-x86/lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"rid": "osx-x86",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "20.1.0.0",
|
||||
"fileVersion": "20.1.0.0"
|
||||
},
|
||||
"runtimes/win-x64/lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"rid": "win-x64",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "20.1.0.0",
|
||||
"fileVersion": "20.1.0.0"
|
||||
},
|
||||
"runtimes/win-x86/lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"rid": "win-x86",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "20.1.0.0",
|
||||
"fileVersion": "20.1.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"StgSharp/1.0.0": {
|
||||
"dependencies": {
|
||||
"GLFWDotNet": "20.9.0",
|
||||
"Microsoft.CSharp": "4.7.0"
|
||||
"Microsoft.CSharp": "4.7.0",
|
||||
"Steamworks.NET": "20.1.0"
|
||||
},
|
||||
"runtime": {
|
||||
"StgSharp.dll": {}
|
||||
@@ -66,6 +113,13 @@
|
||||
"path": "microsoft.csharp/4.7.0",
|
||||
"hashPath": "microsoft.csharp.4.7.0.nupkg.sha512"
|
||||
},
|
||||
"Steamworks.NET/20.1.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-+GntwnyJ5tCNvUIaQxv2+ehDvZJzGUqlSB5xRBk1hTj1qqBJ6s4vK/OfGD/jae7aTmXiGSm8wpJORosNtQevJQ==",
|
||||
"path": "steamworks.net/20.1.0",
|
||||
"hashPath": "steamworks.net.20.1.0.nupkg.sha512"
|
||||
},
|
||||
"StgSharp/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -1 +1 @@
|
||||
5d1cbce510d586a87de47050a99b6389447d8e1e
|
||||
3655dd388a44aa06ff12e220d674702ff529842b
|
||||
|
||||
@@ -41,3 +41,10 @@ D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net\Stg
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net\StgSharpDebug\obj\Debug\net6.0\StgSharpDebug.csproj.CopyComplete
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net\StgSharpDebug\obj\Debug\net6.0\StgSharpDebug.genruntimeconfig.cache
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net\StgSharpDebug\obj\Debug\net6.0\ref\StgSharpDebug.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net\StgSharpDebug\bin\Debug\net6.0\Steamworks.NET.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net\StgSharpDebug\bin\Debug\net6.0\runtimes\linux-x64\lib\netstandard2.1\Steamworks.NET.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net\StgSharpDebug\bin\Debug\net6.0\runtimes\linux-x86\lib\netstandard2.1\Steamworks.NET.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net\StgSharpDebug\bin\Debug\net6.0\runtimes\osx-x64\lib\netstandard2.1\Steamworks.NET.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net\StgSharpDebug\bin\Debug\net6.0\runtimes\osx-x86\lib\netstandard2.1\Steamworks.NET.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net\StgSharpDebug\bin\Debug\net6.0\runtimes\win-x64\lib\netstandard2.1\Steamworks.NET.dll
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net\StgSharpDebug\bin\Debug\net6.0\runtimes\win-x86\lib\netstandard2.1\Steamworks.NET.dll
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -134,6 +134,10 @@
|
||||
"Microsoft.CSharp": {
|
||||
"target": "Package",
|
||||
"version": "[4.7.0, )"
|
||||
},
|
||||
"Steamworks.NET": {
|
||||
"target": "Package",
|
||||
"version": "[20.1.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
|
||||
@@ -30,12 +30,48 @@
|
||||
"lib/netcoreapp2.0/_._": {}
|
||||
}
|
||||
},
|
||||
"Steamworks.NET/20.1.0": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"ref/netstandard2.1/Steamworks.NET.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.1/Steamworks.NET.dll": {}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/linux-x64/lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"assetType": "runtime",
|
||||
"rid": "linux-x64"
|
||||
},
|
||||
"runtimes/linux-x86/lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"assetType": "runtime",
|
||||
"rid": "linux-x86"
|
||||
},
|
||||
"runtimes/osx-x64/lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"assetType": "runtime",
|
||||
"rid": "osx-x64"
|
||||
},
|
||||
"runtimes/osx-x86/lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"assetType": "runtime",
|
||||
"rid": "osx-x86"
|
||||
},
|
||||
"runtimes/win-x64/lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"assetType": "runtime",
|
||||
"rid": "win-x64"
|
||||
},
|
||||
"runtimes/win-x86/lib/netstandard2.1/Steamworks.NET.dll": {
|
||||
"assetType": "runtime",
|
||||
"rid": "win-x86"
|
||||
}
|
||||
}
|
||||
},
|
||||
"StgSharp/1.0.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETStandard,Version=v2.1",
|
||||
"dependencies": {
|
||||
"GLFWDotNet": "20.9.0",
|
||||
"Microsoft.CSharp": "4.7.0"
|
||||
"Microsoft.CSharp": "4.7.0",
|
||||
"Steamworks.NET": "20.1.0"
|
||||
},
|
||||
"compile": {
|
||||
"bin/placeholder/StgSharp.dll": {}
|
||||
@@ -132,6 +168,26 @@
|
||||
"version.txt"
|
||||
]
|
||||
},
|
||||
"Steamworks.NET/20.1.0": {
|
||||
"sha512": "+GntwnyJ5tCNvUIaQxv2+ehDvZJzGUqlSB5xRBk1hTj1qqBJ6s4vK/OfGD/jae7aTmXiGSm8wpJORosNtQevJQ==",
|
||||
"type": "package",
|
||||
"path": "steamworks.net/20.1.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"lib/netstandard2.1/Steamworks.NET.dll",
|
||||
"readme.md",
|
||||
"ref/netstandard2.1/Steamworks.NET.dll",
|
||||
"runtimes/linux-x64/lib/netstandard2.1/Steamworks.NET.dll",
|
||||
"runtimes/linux-x86/lib/netstandard2.1/Steamworks.NET.dll",
|
||||
"runtimes/osx-x64/lib/netstandard2.1/Steamworks.NET.dll",
|
||||
"runtimes/osx-x86/lib/netstandard2.1/Steamworks.NET.dll",
|
||||
"runtimes/win-x64/lib/netstandard2.1/Steamworks.NET.dll",
|
||||
"runtimes/win-x86/lib/netstandard2.1/Steamworks.NET.dll",
|
||||
"steamworks.net.20.1.0.nupkg.sha512",
|
||||
"steamworks.net.nuspec"
|
||||
]
|
||||
},
|
||||
"StgSharp/1.0.0": {
|
||||
"type": "project",
|
||||
"path": "../StgSharp/StgSharp.csproj",
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "gWnEG0hyez94dWdmnp0V0q94PvswAr/MlnXfT4T+phteI844ctO7t5MMuKlYGdgNxJlT8aOh7S4V05Df+4qKpA==",
|
||||
"dgSpecHash": "RNeBAbgPDjVoMN0wCgiHdKSZl7blbpi7QUVgjypq9m6PyL52Ykwxe7dj87SnWZKStz814Gbnc/IFL47A2sNS6Q==",
|
||||
"success": true,
|
||||
"projectFilePath": "D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\源代码\\.Net\\StgSharpDebug\\StgSharpDebug.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\Nitlo\\.nuget\\packages\\glfwdotnet\\20.9.0\\glfwdotnet.20.9.0.nupkg.sha512",
|
||||
"C:\\Users\\Nitlo\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Nitlo\\.nuget\\packages\\steamworks.net\\20.1.0\\steamworks.net.20.1.0.nupkg.sha512",
|
||||
"C:\\Users\\Nitlo\\.nuget\\packages\\microsoft.netcore.app.host.win-x64\\6.0.12\\microsoft.netcore.app.host.win-x64.6.0.12.nupkg.sha512",
|
||||
"C:\\Users\\Nitlo\\.nuget\\packages\\microsoft.aspnetcore.app.ref\\6.0.12\\microsoft.aspnetcore.app.ref.6.0.12.nupkg.sha512",
|
||||
"C:\\Users\\Nitlo\\.nuget\\packages\\microsoft.windowsdesktop.app.ref\\6.0.12\\microsoft.windowsdesktop.app.ref.6.0.12.nupkg.sha512",
|
||||
|
||||
Reference in New Issue
Block a user