diff --git a/源代码/.Net/.vs/ProjectEvaluation/stgsharp.metadata.v5.1 b/源代码/.Net/.vs/ProjectEvaluation/stgsharp.metadata.v5.1 index 3bf9a65f..ae73284c 100644 Binary files a/源代码/.Net/.vs/ProjectEvaluation/stgsharp.metadata.v5.1 and b/源代码/.Net/.vs/ProjectEvaluation/stgsharp.metadata.v5.1 differ diff --git a/源代码/.Net/.vs/ProjectEvaluation/stgsharp.projects.v5.1 b/源代码/.Net/.vs/ProjectEvaluation/stgsharp.projects.v5.1 index 3fc06c50..62bfbed4 100644 Binary files a/源代码/.Net/.vs/ProjectEvaluation/stgsharp.projects.v5.1 and b/源代码/.Net/.vs/ProjectEvaluation/stgsharp.projects.v5.1 differ diff --git a/源代码/.Net/.vs/StgSharp/DesignTimeBuild/.dtbcache.v2 b/源代码/.Net/.vs/StgSharp/DesignTimeBuild/.dtbcache.v2 index 015c3819..d7f495a2 100644 Binary files a/源代码/.Net/.vs/StgSharp/DesignTimeBuild/.dtbcache.v2 and b/源代码/.Net/.vs/StgSharp/DesignTimeBuild/.dtbcache.v2 differ diff --git a/源代码/.Net/.vs/StgSharp/FileContentIndex/153d1e9c-1d30-4cab-bcdf-d340a2f73f5c.vsidx b/源代码/.Net/.vs/StgSharp/FileContentIndex/153d1e9c-1d30-4cab-bcdf-d340a2f73f5c.vsidx deleted file mode 100644 index 8b13f24a..00000000 Binary files a/源代码/.Net/.vs/StgSharp/FileContentIndex/153d1e9c-1d30-4cab-bcdf-d340a2f73f5c.vsidx and /dev/null differ diff --git a/源代码/.Net/.vs/StgSharp/FileContentIndex/20c049fa-02ac-4d5c-93a8-bfc4318f3b59.vsidx b/源代码/.Net/.vs/StgSharp/FileContentIndex/20c049fa-02ac-4d5c-93a8-bfc4318f3b59.vsidx new file mode 100644 index 00000000..33a4befa Binary files /dev/null and b/源代码/.Net/.vs/StgSharp/FileContentIndex/20c049fa-02ac-4d5c-93a8-bfc4318f3b59.vsidx differ diff --git a/源代码/.Net/.vs/StgSharp/FileContentIndex/6ca4c3f8-5a26-460b-bede-6afce4daf8da.vsidx b/源代码/.Net/.vs/StgSharp/FileContentIndex/6ca4c3f8-5a26-460b-bede-6afce4daf8da.vsidx new file mode 100644 index 00000000..953ea333 Binary files /dev/null and b/源代码/.Net/.vs/StgSharp/FileContentIndex/6ca4c3f8-5a26-460b-bede-6afce4daf8da.vsidx differ diff --git a/源代码/.Net/.vs/StgSharp/FileContentIndex/8967f140-5899-4311-8f69-03396e90e0d1.vsidx b/源代码/.Net/.vs/StgSharp/FileContentIndex/8967f140-5899-4311-8f69-03396e90e0d1.vsidx deleted file mode 100644 index 0b42b631..00000000 Binary files a/源代码/.Net/.vs/StgSharp/FileContentIndex/8967f140-5899-4311-8f69-03396e90e0d1.vsidx and /dev/null differ diff --git a/源代码/.Net/.vs/StgSharp/FileContentIndex/6fa79de4-a512-41fa-8073-d2e1db5def0e.vsidx b/源代码/.Net/.vs/StgSharp/FileContentIndex/a6c1a11b-2ec6-40d8-b382-5c53bdc1d7e7.vsidx similarity index 79% rename from 源代码/.Net/.vs/StgSharp/FileContentIndex/6fa79de4-a512-41fa-8073-d2e1db5def0e.vsidx rename to 源代码/.Net/.vs/StgSharp/FileContentIndex/a6c1a11b-2ec6-40d8-b382-5c53bdc1d7e7.vsidx index ece4e210..4f761335 100644 Binary files a/源代码/.Net/.vs/StgSharp/FileContentIndex/6fa79de4-a512-41fa-8073-d2e1db5def0e.vsidx and b/源代码/.Net/.vs/StgSharp/FileContentIndex/a6c1a11b-2ec6-40d8-b382-5c53bdc1d7e7.vsidx differ diff --git a/源代码/.Net/.vs/StgSharp/FileContentIndex/cfbd5dd3-899e-4a0f-ada6-497219eadf9a.vsidx b/源代码/.Net/.vs/StgSharp/FileContentIndex/cfbd5dd3-899e-4a0f-ada6-497219eadf9a.vsidx deleted file mode 100644 index 86015ddb..00000000 Binary files a/源代码/.Net/.vs/StgSharp/FileContentIndex/cfbd5dd3-899e-4a0f-ada6-497219eadf9a.vsidx and /dev/null differ diff --git a/源代码/.Net/.vs/StgSharp/FileContentIndex/ee4ef954-1d4a-4596-a3db-24dc967b1941.vsidx b/源代码/.Net/.vs/StgSharp/FileContentIndex/ee4ef954-1d4a-4596-a3db-24dc967b1941.vsidx new file mode 100644 index 00000000..bf3a8a71 Binary files /dev/null and b/源代码/.Net/.vs/StgSharp/FileContentIndex/ee4ef954-1d4a-4596-a3db-24dc967b1941.vsidx differ diff --git a/源代码/.Net/.vs/StgSharp/v17/.futdcache.v2 b/源代码/.Net/.vs/StgSharp/v17/.futdcache.v2 index 025e8ad4..29105686 100644 Binary files a/源代码/.Net/.vs/StgSharp/v17/.futdcache.v2 and b/源代码/.Net/.vs/StgSharp/v17/.futdcache.v2 differ diff --git a/源代码/.Net/.vs/StgSharp/v17/.suo b/源代码/.Net/.vs/StgSharp/v17/.suo index 5ec6a575..60d3043d 100644 Binary files a/源代码/.Net/.vs/StgSharp/v17/.suo and b/源代码/.Net/.vs/StgSharp/v17/.suo differ diff --git a/源代码/.Net/StgSharp/Entities/Player.cs b/源代码/.Net/StgSharp/Entities/Player.cs index 341e1f97..a62e0d87 100644 --- a/源代码/.Net/StgSharp/Entities/Player.cs +++ b/源代码/.Net/StgSharp/Entities/Player.cs @@ -1,4 +1,4 @@ -using StgSharp.Vector; +using StgSharp.Math; using System; using System.Collections.Generic; using System.Text; @@ -31,7 +31,6 @@ namespace StgSharp Vec2D IEntity.Location { get { return this._position; } - set { this._position = value; } } ContainerNode INode.ID @@ -39,6 +38,11 @@ namespace StgSharp get { return _id; } } + public void SetLocation(Point p) + { + throw new NotImplementedException(); + } + void INode.setID(ContainerNode id) { if (id == null) diff --git a/源代码/.Net/StgSharp/Geometries/point.cs b/源代码/.Net/StgSharp/Geometries/point.cs index dc2fd7e3..09074cf3 100644 --- a/源代码/.Net/StgSharp/Geometries/point.cs +++ b/源代码/.Net/StgSharp/Geometries/point.cs @@ -1,6 +1,6 @@ using GLFWDotNet; using StgSharp; -using StgSharp.Vector; +using StgSharp.Math; using System; using System.Collections.Generic; using System.Drawing; diff --git a/源代码/.Net/StgSharp/Logic/Pool.cs b/源代码/.Net/StgSharp/Logic/Pool.cs index 34259c89..c97a8af1 100644 --- a/源代码/.Net/StgSharp/Logic/Pool.cs +++ b/源代码/.Net/StgSharp/Logic/Pool.cs @@ -20,15 +20,6 @@ namespace StgSharp public void OnRender() { - ContainerNode idCache = pointContainer._first; - Point p; - do - { - p = idCache._this; - p._x = p.getXHandler.Invoke(Control.TimeLine.tickCounter); - p._y = p.getYHandler.Invoke(Control.TimeLine.tickCounter); - idCache = idCache._next; - } while (idCache != default(ContainerNode)); diff --git a/源代码/.Net/StgSharp/Math/ACos.cs b/源代码/.Net/StgSharp/Math/ACos.cs index 1bb31d21..50ad1db1 100644 --- a/源代码/.Net/StgSharp/Math/ACos.cs +++ b/源代码/.Net/StgSharp/Math/ACos.cs @@ -35,7 +35,7 @@ namespace StgSharp.Math if (transform) { r = 0.5f * (1.0f - y); - s = StgSharp.Math.Sqrt(r); + s = Calc.Sqrt(r); y = s; } else diff --git a/源代码/.Net/StgSharp/Math/Pow.cs b/源代码/.Net/StgSharp/Math/Pow.cs index 3790bc63..323cd591 100644 --- a/源代码/.Net/StgSharp/Math/Pow.cs +++ b/源代码/.Net/StgSharp/Math/Pow.cs @@ -35,7 +35,7 @@ namespace StgSharp.Math { return 1.0f / 0; } - z = StgSharp.Math.Log(x) * y; + z = Calc.Log(x) * y; bool sign = false; if (z < 0) diff --git a/源代码/.Net/StgSharp/Vector/Array2x2.cs b/源代码/.Net/StgSharp/Vector/Array2x2.cs index 43b20bd4..10a2acb4 100644 --- a/源代码/.Net/StgSharp/Vector/Array2x2.cs +++ b/源代码/.Net/StgSharp/Vector/Array2x2.cs @@ -1,23 +1,22 @@ using System; using System.Collections.Generic; +using System.Runtime.InteropServices; using System.Text; namespace StgSharp.Math { - public struct Array2x2 + [StructLayout(LayoutKind.Explicit)] + public struct Array2x2:IEquatable { - public Vec2D row0; + [FieldOffset(0)] public Vec2D row1; - - public Vec2D colum0; - public Vec2D colum1; + [FieldOffset(8)] + public Vec2D row2; public Array2x2(Vec2D c0, Vec2D c1) { - row0 = c0; - row1 = c1; - colum0 = new Vec2D(c0.X,c1.X); - colum1 = new Vec2D(c0.Y,c1.Y); + row1 = c0; + row2 = c1; } public Array2x2( @@ -27,40 +26,59 @@ namespace StgSharp.Math float a22 ) { - row0 = new Vec2D(a11, a12); - row1 = new Vec2D(a21, a22); - - colum0 = new Vec2D(a11, a21); - colum1 = new Vec2D(a21, a22); + row1 = new Vec2D(a11, a12); + row2 = new Vec2D(a21, a22); } - public static Array2x2 operator *(Array2x2 array1, Array2x2 array2) + bool IEquatable.Equals(Array2x2 other) { + if (this.GetHashCode() != other.GetHashCode()) + { + return false; + } + else + { + return + this.row1 == other.row1 + && this.row2 == other.row2; + } + } + + public static unsafe Array2x2 operator *(Array2x2 array1, Array2x2 array2) + { + float* p = &array1.row1.X; + + Vec2D colum1 = new Vec2D( + *p , *(p + 2) + ); + Vec2D colum2 = new Vec2D( + *(p + 1), *(p + 3) + ); + return new Array2x2( - array1.colum0 * array2.row0, - array1.colum1 * array2.row0, - array1.colum0 * array2.row1, - array1.colum1 * array2.row1 + colum1 * array2.row1, + colum2 * array2.row1, + colum1 * array2.row2, + colum2 * array2.row2 ); } public static Array2x2 operator +(Array2x2 array1, Array2x2 array2) { return new Array2x2( - array1.row0 + array2.row0, - array1.row1 + array2.row1 + array1.row1 + array2.row1, + array1.row2 + array2.row2 ); } public static Array2x2 operator -(Array2x2 array1, Array2x2 array2) { return new Array2x2( - array1.row0 - array2.row0, - array1.row1 - array2.row1 + array1.row1 - array2.row1, + array1.row2 - array2.row2 ); } - } } diff --git a/源代码/.Net/StgSharp/Vector/Array2x3.cs b/源代码/.Net/StgSharp/Vector/Array2x3.cs new file mode 100644 index 00000000..3de14f6e --- /dev/null +++ b/源代码/.Net/StgSharp/Vector/Array2x3.cs @@ -0,0 +1,43 @@ +using StgSharp.Math; +using System; +using System.Collections.Generic; +using System.Runtime.InteropServices; +using System.Text; + +namespace StgSharp.Vector +{ + [StructLayout(LayoutKind.Explicit)] + public struct Array2x3:IEquatable + { + [FieldOffset(0)] + Vec3D row1; + [FieldOffset(12)] + Vec3D row2; + + public override bool Equals(object obj) + { + return obj is Array2x3 x && + row1.Equals(x.row1) && + row2.Equals(x.row2); + } + + public override int GetHashCode() + { + return HashCode.Combine(row1, row2); + } + + bool IEquatable.Equals(Array2x3 other) + { + if (this.GetHashCode() != other.GetHashCode()) + { + return false; + } + else + { + return + this.row1 == other.row1 + && this.row2 == other.row2; + } + } + } +} diff --git a/源代码/.Net/StgSharp/Vector/Array3x3.cs b/源代码/.Net/StgSharp/Vector/Array3x3.cs index 4e5909f3..6fbcfd7c 100644 --- a/源代码/.Net/StgSharp/Vector/Array3x3.cs +++ b/源代码/.Net/StgSharp/Vector/Array3x3.cs @@ -1,29 +1,28 @@ using System; +using System.Collections; using System.Collections.Generic; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using System.Security.Cryptography.X509Certificates; using System.Text; namespace StgSharp.Math { - public struct Array3x3 + [StructLayout(LayoutKind.Explicit)] + public struct Array3x3:IEquatable { - public Vec3D row0; + [FieldOffset(0)] public Vec3D row1; + [FieldOffset(12)] public Vec3D row2; - - public Vec3D colum0; - public Vec3D colum1; - public Vec3D colum2; + [FieldOffset(24)] + public Vec3D row3; public Array3x3(Vec3D r0,Vec3D r1,Vec3D r2) { - row0 = r0; - row1 = r1; - row2 = r2; - - colum0 = new Vec3D(r0.X, r1.X, r2.X); - colum1 = new Vec3D(r0.Y, r1.Y, r2.Y); - colum2 = new Vec3D(r0.Z, r1.Z, r2.Z); + row1 = r0; + row2 = r1; + row3 = r2; } public Array3x3( @@ -32,48 +31,132 @@ namespace StgSharp.Math float a31,float a32,float a33 ) { - row0 = new Vec3D(a11, a12, a13); - row1 = new Vec3D(a21, a22, a23); - row2 = new Vec3D(a31, a32, a33); + row1 = new Vec3D(a11, a12, a13); + row2 = new Vec3D(a21, a22, a23); + row3 = new Vec3D(a31, a32, a33); + } - colum0 = new Vec3D(a11,a21,a31); - colum1 = new Vec3D(a12,a22,a32); - colum2 = new Vec3D(a13,a23,a33); + public override int GetHashCode() + { + return HashCode.Combine(row1,row2,row3); + } + + bool IEquatable.Equals(Array3x3 other) + { + if (this.GetHashCode()!=other.GetHashCode()) + { + return false; + } + else + { + return + this.row1 == other.row1 + && this.row2 == other.row2 + && this.row3 == other.row3; + } + } + + public override bool Equals(object obj) + { + if (obj == null) + { + return false; + } + else if (obj.GetType() != typeof(Vec3D)) + { + return false; + } + else + { + return this.Equals((Array3x3)obj); + } + } + + public override string ToString() + { + return $"{row1}\n{row2}\n{row3}"; + } + + + + public static bool operator ==(Array3x3 array1, Array3x3 array2) + { + return array1.Equals(array2); + } + + public static bool operator !=(Array3x3 array1, Array3x3 array2) + { + return !array1.Equals(array2); } public static Array3x3 operator +(Array3x3 array1, Array3x3 array2) { return new Array3x3( - array1.row0.X + array2.row0.X, - array1.row0.Y + array2.row0.Y, - array1.row0.Z + array2.row0.Z, - array1.row1.X + array2.row1.X, array1.row1.Y + array2.row1.Y, array1.row1.Z + array2.row1.Z, array1.row2.X + array2.row2.X, array1.row2.Y + array2.row2.Y, - array1.row2.Z + array2.row2.Z + array1.row2.Z + array2.row2.Z, + + array1.row3.X + array2.row3.X, + array1.row3.Y + array2.row3.Y, + array1.row3.Z + array2.row3.Z ); } public static Array3x3 operator -(Array3x3 array1, Array3x3 array2) { return new Array3x3( - array1.row0.X - array2.row0.X, - array1.row0.Y - array2.row0.Y, - array1.row0.Z - array2.row0.Z, - array1.row1.X - array2.row1.X, array1.row1.Y - array2.row1.Y, array1.row1.Z - array2.row1.Z, array1.row2.X - array2.row2.X, array1.row2.Y - array2.row2.Y, - array1.row2.Z - array2.row2.Z + array1.row2.Z - array2.row2.Z, + + array1.row3.X - array2.row3.X, + array1.row3.Y - array2.row3.Y, + array1.row3.Z - array2.row3.Z ); } + public static unsafe Array3x3 operator *(Array3x3 array1,Array3x3 array2) + { + float* p1 = &array1.row2.X; + float* p2 = &array2.row2.X; + + return new Array3x3( + *(p1 + 0) * *(p2 + 0) + *(p1 + 1) * *(p2 + 3) + *(p1 + 2) * *(p2 + 6), + *(p1 + 0) * *(p2 + 1) + *(p1 + 1) * *(p2 + 4) + *(p1 + 2) * *(p2 + 7), + *(p1 + 0) * *(p2 + 2) + *(p1 + 1) * *(p2 + 5) + *(p1 + 2) * *(p2 + 8), + *(p1 + 3) * *(p2 + 0) + *(p1 + 4) * *(p2 + 3) + *(p1 + 5) * *(p2 + 6), + *(p1 + 3) * *(p2 + 1) + *(p1 + 4) * *(p2 + 4) + *(p1 + 5) * *(p2 + 7), + *(p1 + 3) * *(p2 + 2) + *(p1 + 4) * *(p2 + 5) + *(p1 + 5) * *(p2 + 8), + *(p1 + 6) * *(p2 + 0) + *(p1 + 7) * *(p2 + 3) + *(p1 + 2) * *(p2 + 6), + *(p1 + 6) * *(p2 + 1) + *(p1 + 7) * *(p2 + 4) + *(p1 + 2) * *(p2 + 7), + *(p1 + 6) * *(p2 + 2) + *(p1 + 7) * *(p2 + 5) + *(p1 + 2) * *(p2 + 8) + ); + } + + public static Array3x3 operator *(Array3x3 array, float x) + { + return new Array3x3( + array.row1 * x, + array.row2 * x, + array.row3 * x + ); + } + + public static Array3x3 operator /(Array3x3 array, float x) + { + return new Array3x3( + array.row1/x, + array.row2/x, + array.row3/x + ); + } } } diff --git a/源代码/.Net/StgSharp/Vector/Det.cs b/源代码/.Net/StgSharp/Vector/Det.cs index 882f23d9..1055e203 100644 --- a/源代码/.Net/StgSharp/Vector/Det.cs +++ b/源代码/.Net/StgSharp/Vector/Det.cs @@ -12,9 +12,28 @@ namespace StgSharp.Math return Cross(array.row0,array.row1); } - public static float Det(Array3x3 array) + public static unsafe float Det(Array3x3 array) { - return 0; + float* p = &array.row1.X; + + Array2x2 array1 = new Array2x2( + *(p + 4), *(p + 5), + *(p + 7), *(p + 8) + ); + Array2x2 array2 = new Array2x2( + *(p + 3), *(p + 5), + *(p + 6), *(p + 8) + ); + Array2x2 array3 = new Array2x2( + *(p + 3), *(p + 4), + *(p + 6), *(p + 7) + ); + + return + *p * Det(array1) + - *(p + 1) * Det(array2) + + *(p + 2) * Det(array3) + ; } } } diff --git a/源代码/.Net/StgSharp/Vector/Multiple.cs b/源代码/.Net/StgSharp/Vector/Multiple.cs index 0647499a..4336c2ea 100644 --- a/源代码/.Net/StgSharp/Vector/Multiple.cs +++ b/源代码/.Net/StgSharp/Vector/Multiple.cs @@ -6,7 +6,6 @@ namespace StgSharp.Math { public static unsafe partial class VectorCalc { - public static Array2x2 } } diff --git a/源代码/.Net/StgSharp/Vector/Vec2D.cs b/源代码/.Net/StgSharp/Vector/Vec2D.cs index 9c171b17..ae4fbc2a 100644 --- a/源代码/.Net/StgSharp/Vector/Vec2D.cs +++ b/源代码/.Net/StgSharp/Vector/Vec2D.cs @@ -1,14 +1,19 @@ using System; using System.Collections.Generic; using System.Data.Common; -using System.Runtime.CompilerServices; +using System.Runtime; +using System.Runtime.InteropServices; using System.Text; namespace StgSharp.Math { + + [StructLayout(LayoutKind.Explicit)] public struct Vec2D:IEquatable { + [FieldOffset(0)] public float X; + [FieldOffset(sizeof(float))] public float Y; public Vec2D(float x,float y) @@ -52,7 +57,7 @@ namespace StgSharp.Math public override string ToString() { - return $"{this.X},{this.Y}"; + return $"{this.X}\t{this.Y}"; } public static bool operator ==(Vec2D vec1, Vec2D vec2) diff --git a/源代码/.Net/StgSharp/Vector/Vec3D.cs b/源代码/.Net/StgSharp/Vector/Vec3D.cs index 9e0f60ba..9bfb5f9b 100644 --- a/源代码/.Net/StgSharp/Vector/Vec3D.cs +++ b/源代码/.Net/StgSharp/Vector/Vec3D.cs @@ -1,14 +1,19 @@ using System; using System.Collections.Generic; using System.Data.Common; +using System.Runtime.InteropServices; using System.Text; namespace StgSharp.Math { + [StructLayout(LayoutKind.Explicit)] public struct Vec3D : IEquatable { + [FieldOffset(0)] public float X; + [FieldOffset(4)] public float Y; + [FieldOffset(8)] public float Z; public Vec3D(float x, float y, float z) @@ -55,7 +60,7 @@ namespace StgSharp.Math public override string ToString() { - return $"{X},{Y},{Z}"; + return $"{X}\t{Y}\t{Z}"; } public static bool operator ==(Vec3D vec1,Vec3D vec2) diff --git a/源代码/.Net/StgSharp/bin/Debug/netstandard2.1/StgSharp.dll b/源代码/.Net/StgSharp/bin/Debug/netstandard2.1/StgSharp.dll index d6978acb..faaa79f6 100644 Binary files a/源代码/.Net/StgSharp/bin/Debug/netstandard2.1/StgSharp.dll and b/源代码/.Net/StgSharp/bin/Debug/netstandard2.1/StgSharp.dll differ diff --git a/源代码/.Net/StgSharp/bin/Debug/netstandard2.1/StgSharp.pdb b/源代码/.Net/StgSharp/bin/Debug/netstandard2.1/StgSharp.pdb index 46baf83f..8035b3f5 100644 Binary files a/源代码/.Net/StgSharp/bin/Debug/netstandard2.1/StgSharp.pdb and b/源代码/.Net/StgSharp/bin/Debug/netstandard2.1/StgSharp.pdb differ diff --git a/源代码/.Net/StgSharp/bin/Debug/netstandard2.1/StgSharp.xml b/源代码/.Net/StgSharp/bin/Debug/netstandard2.1/StgSharp.xml index fffdd5aa..7ca00283 100644 --- a/源代码/.Net/StgSharp/bin/Debug/netstandard2.1/StgSharp.xml +++ b/源代码/.Net/StgSharp/bin/Debug/netstandard2.1/StgSharp.xml @@ -4,7 +4,7 @@ StgSharp - + Reurns the value of ArcSin(x) @@ -12,30 +12,21 @@ - - - Returns the angle whose sine is the quotient of two specified numbers. - - The x coordinate of a point. - The y coordinate of a point. - - - - + Get the value of E ^ x; - + Get the bits of a float number The given float number - + @@ -44,7 +35,7 @@ Returns the value of ln(x). - + calculate the value of x^y diff --git a/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.csproj.CoreCompileInputs.cache b/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.csproj.CoreCompileInputs.cache index 32696902..5219cbea 100644 --- a/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.csproj.CoreCompileInputs.cache +++ b/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -250cbfc0c4767a021cac96a098e779bd97d9c232 +bb84f958dd8bb73e7648d5f43a51e3897696047f diff --git a/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.dll b/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.dll index d6978acb..faaa79f6 100644 Binary files a/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.dll and b/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.dll differ diff --git a/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.pdb b/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.pdb index 46baf83f..8035b3f5 100644 Binary files a/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.pdb and b/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.pdb differ diff --git a/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.xml b/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.xml index fffdd5aa..7ca00283 100644 --- a/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.xml +++ b/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/StgSharp.xml @@ -4,7 +4,7 @@ StgSharp - + Reurns the value of ArcSin(x) @@ -12,30 +12,21 @@ - - - Returns the angle whose sine is the quotient of two specified numbers. - - The x coordinate of a point. - The y coordinate of a point. - - - - + Get the value of E ^ x; - + Get the bits of a float number The given float number - + @@ -44,7 +35,7 @@ Returns the value of ln(x). - + calculate the value of x^y diff --git a/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/ref/StgSharp.dll b/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/ref/StgSharp.dll index 57533405..91febe05 100644 Binary files a/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/ref/StgSharp.dll and b/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/ref/StgSharp.dll differ diff --git a/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/refint/StgSharp.dll b/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/refint/StgSharp.dll index 57533405..91febe05 100644 Binary files a/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/refint/StgSharp.dll and b/源代码/.Net/StgSharp/obj/Debug/netstandard2.1/refint/StgSharp.dll differ diff --git a/源代码/.Net/StgSharpDebug/Program.cs b/源代码/.Net/StgSharpDebug/Program.cs index 56c8cc16..b1c3f842 100644 --- a/源代码/.Net/StgSharpDebug/Program.cs +++ b/源代码/.Net/StgSharpDebug/Program.cs @@ -1,5 +1,5 @@ using StgSharp; -using StgSharp.Vector; +using StgSharp.Math; using System; using System.Diagnostics; @@ -7,6 +7,7 @@ internal class Program { private unsafe static void Main(string[] args) { + } } diff --git a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/Steamworks.NET.dll b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/Steamworks.NET.dll new file mode 100644 index 00000000..a50d240b Binary files /dev/null and b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/Steamworks.NET.dll differ diff --git a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharp.dll b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharp.dll index d6978acb..faaa79f6 100644 Binary files a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharp.dll and b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharp.dll differ diff --git a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharp.pdb b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharp.pdb index 46baf83f..8035b3f5 100644 Binary files a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharp.pdb and b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharp.pdb differ diff --git a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharp.xml b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharp.xml index fffdd5aa..7ca00283 100644 --- a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharp.xml +++ b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharp.xml @@ -4,7 +4,7 @@ StgSharp - + Reurns the value of ArcSin(x) @@ -12,30 +12,21 @@ - - - Returns the angle whose sine is the quotient of two specified numbers. - - The x coordinate of a point. - The y coordinate of a point. - - - - + Get the value of E ^ x; - + Get the bits of a float number The given float number - + @@ -44,7 +35,7 @@ Returns the value of ln(x). - + calculate the value of x^y diff --git a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharpDebug.dll b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharpDebug.dll index 05ad2259..ead26c7e 100644 Binary files a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharpDebug.dll and b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharpDebug.dll differ diff --git a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharpDebug.pdb b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharpDebug.pdb index 336e4130..1d6eb4db 100644 Binary files a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharpDebug.pdb and b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/StgSharpDebug.pdb differ diff --git a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/linux-x64/lib/netstandard2.1/Steamworks.NET.dll b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/linux-x64/lib/netstandard2.1/Steamworks.NET.dll new file mode 100644 index 00000000..b12270e6 Binary files /dev/null and b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/linux-x64/lib/netstandard2.1/Steamworks.NET.dll differ diff --git a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/linux-x86/lib/netstandard2.1/Steamworks.NET.dll b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/linux-x86/lib/netstandard2.1/Steamworks.NET.dll new file mode 100644 index 00000000..6b6925d5 Binary files /dev/null and b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/linux-x86/lib/netstandard2.1/Steamworks.NET.dll differ diff --git a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/osx-x64/lib/netstandard2.1/Steamworks.NET.dll b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/osx-x64/lib/netstandard2.1/Steamworks.NET.dll new file mode 100644 index 00000000..b12270e6 Binary files /dev/null and b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/osx-x64/lib/netstandard2.1/Steamworks.NET.dll differ diff --git a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/osx-x86/lib/netstandard2.1/Steamworks.NET.dll b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/osx-x86/lib/netstandard2.1/Steamworks.NET.dll new file mode 100644 index 00000000..6b6925d5 Binary files /dev/null and b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/osx-x86/lib/netstandard2.1/Steamworks.NET.dll differ diff --git a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/win-x64/lib/netstandard2.1/Steamworks.NET.dll b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/win-x64/lib/netstandard2.1/Steamworks.NET.dll new file mode 100644 index 00000000..a50d240b Binary files /dev/null and b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/win-x64/lib/netstandard2.1/Steamworks.NET.dll differ diff --git a/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/win-x86/lib/netstandard2.1/Steamworks.NET.dll b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/win-x86/lib/netstandard2.1/Steamworks.NET.dll new file mode 100644 index 00000000..86442020 Binary files /dev/null and b/源代码/.Net/StgSharpDebug/bin/Debug/net6.0/runtimes/win-x86/lib/netstandard2.1/Steamworks.NET.dll differ diff --git a/源代码/.Net/StgSharpDebug/obj/Debug/net6.0/StgSharpDebug.csproj.AssemblyReference.cache b/源代码/.Net/StgSharpDebug/obj/Debug/net6.0/StgSharpDebug.csproj.AssemblyReference.cache index 401e9989..f3653f0b 100644 Binary files a/源代码/.Net/StgSharpDebug/obj/Debug/net6.0/StgSharpDebug.csproj.AssemblyReference.cache and b/源代码/.Net/StgSharpDebug/obj/Debug/net6.0/StgSharpDebug.csproj.AssemblyReference.cache differ diff --git a/源代码/.Net/StgSharpDebug/obj/Debug/net6.0/StgSharpDebug.dll b/源代码/.Net/StgSharpDebug/obj/Debug/net6.0/StgSharpDebug.dll index 05ad2259..ead26c7e 100644 Binary files a/源代码/.Net/StgSharpDebug/obj/Debug/net6.0/StgSharpDebug.dll and b/源代码/.Net/StgSharpDebug/obj/Debug/net6.0/StgSharpDebug.dll differ diff --git a/源代码/.Net/StgSharpDebug/obj/Debug/net6.0/StgSharpDebug.pdb b/源代码/.Net/StgSharpDebug/obj/Debug/net6.0/StgSharpDebug.pdb index 336e4130..1d6eb4db 100644 Binary files a/源代码/.Net/StgSharpDebug/obj/Debug/net6.0/StgSharpDebug.pdb and b/源代码/.Net/StgSharpDebug/obj/Debug/net6.0/StgSharpDebug.pdb differ