diff --git a/源代码/.vs/ProjectEvaluation/stgsharp.metadata.v5.1 b/源代码/.vs/ProjectEvaluation/stgsharp.metadata.v5.1 index 0273ae9b..8bdf08cd 100644 Binary files a/源代码/.vs/ProjectEvaluation/stgsharp.metadata.v5.1 and b/源代码/.vs/ProjectEvaluation/stgsharp.metadata.v5.1 differ diff --git a/源代码/.vs/ProjectEvaluation/stgsharp.projects.v5.1 b/源代码/.vs/ProjectEvaluation/stgsharp.projects.v5.1 index 4bd2ee1c..a804a45d 100644 Binary files a/源代码/.vs/ProjectEvaluation/stgsharp.projects.v5.1 and b/源代码/.vs/ProjectEvaluation/stgsharp.projects.v5.1 differ diff --git a/源代码/.vs/StgSharp/DesignTimeBuild/.dtbcache.v2 b/源代码/.vs/StgSharp/DesignTimeBuild/.dtbcache.v2 index b8bbc782..ee262d51 100644 Binary files a/源代码/.vs/StgSharp/DesignTimeBuild/.dtbcache.v2 and b/源代码/.vs/StgSharp/DesignTimeBuild/.dtbcache.v2 differ diff --git a/源代码/.vs/StgSharp/FileContentIndex/0cf8bb34-6cad-4d15-9f31-6f5f7f94f9db.vsidx b/源代码/.vs/StgSharp/FileContentIndex/0cf8bb34-6cad-4d15-9f31-6f5f7f94f9db.vsidx new file mode 100644 index 00000000..82d55034 Binary files /dev/null and b/源代码/.vs/StgSharp/FileContentIndex/0cf8bb34-6cad-4d15-9f31-6f5f7f94f9db.vsidx differ diff --git a/源代码/.vs/StgSharp/FileContentIndex/11b3c63c-509d-4441-aedf-abf3f6358f44.vsidx b/源代码/.vs/StgSharp/FileContentIndex/2db6498c-3a55-4f2e-8dcf-ee4e8e64396d.vsidx similarity index 95% rename from 源代码/.vs/StgSharp/FileContentIndex/11b3c63c-509d-4441-aedf-abf3f6358f44.vsidx rename to 源代码/.vs/StgSharp/FileContentIndex/2db6498c-3a55-4f2e-8dcf-ee4e8e64396d.vsidx index 456e7c82..0c5acd2a 100644 Binary files a/源代码/.vs/StgSharp/FileContentIndex/11b3c63c-509d-4441-aedf-abf3f6358f44.vsidx and b/源代码/.vs/StgSharp/FileContentIndex/2db6498c-3a55-4f2e-8dcf-ee4e8e64396d.vsidx differ diff --git a/源代码/.vs/StgSharp/FileContentIndex/6d139fae-714b-42e7-84de-7883bba23622.vsidx b/源代码/.vs/StgSharp/FileContentIndex/6d139fae-714b-42e7-84de-7883bba23622.vsidx deleted file mode 100644 index 303081b1..00000000 Binary files a/源代码/.vs/StgSharp/FileContentIndex/6d139fae-714b-42e7-84de-7883bba23622.vsidx and /dev/null differ diff --git a/源代码/.vs/StgSharp/FileContentIndex/2953b94e-cd3f-48aa-96d8-994702e455f9.vsidx b/源代码/.vs/StgSharp/FileContentIndex/991cb7ce-5b86-4836-87ce-1c32dd4ac64b.vsidx similarity index 80% rename from 源代码/.vs/StgSharp/FileContentIndex/2953b94e-cd3f-48aa-96d8-994702e455f9.vsidx rename to 源代码/.vs/StgSharp/FileContentIndex/991cb7ce-5b86-4836-87ce-1c32dd4ac64b.vsidx index bed0bf1b..e0c50754 100644 Binary files a/源代码/.vs/StgSharp/FileContentIndex/2953b94e-cd3f-48aa-96d8-994702e455f9.vsidx and b/源代码/.vs/StgSharp/FileContentIndex/991cb7ce-5b86-4836-87ce-1c32dd4ac64b.vsidx differ diff --git a/源代码/.vs/StgSharp/FileContentIndex/e5ec125d-43fb-4159-b068-6813146b3dcf.vsidx b/源代码/.vs/StgSharp/FileContentIndex/e5ec125d-43fb-4159-b068-6813146b3dcf.vsidx new file mode 100644 index 00000000..5649ae41 Binary files /dev/null and b/源代码/.vs/StgSharp/FileContentIndex/e5ec125d-43fb-4159-b068-6813146b3dcf.vsidx differ diff --git a/源代码/.vs/StgSharp/FileContentIndex/f3ad5015-25a0-4c8e-af64-92c7377484bc.vsidx b/源代码/.vs/StgSharp/FileContentIndex/f3ad5015-25a0-4c8e-af64-92c7377484bc.vsidx deleted file mode 100644 index dd5515e4..00000000 Binary files a/源代码/.vs/StgSharp/FileContentIndex/f3ad5015-25a0-4c8e-af64-92c7377484bc.vsidx and /dev/null differ diff --git a/源代码/.vs/StgSharp/v17/.suo b/源代码/.vs/StgSharp/v17/.suo index 619b1bb8..97738eb3 100644 Binary files a/源代码/.vs/StgSharp/v17/.suo and b/源代码/.vs/StgSharp/v17/.suo differ diff --git a/源代码/.vs/StgSharp/v17/Browse.VC.db b/源代码/.vs/StgSharp/v17/Browse.VC.db index bdffdc4e..1672ef53 100644 Binary files a/源代码/.vs/StgSharp/v17/Browse.VC.db and b/源代码/.vs/StgSharp/v17/Browse.VC.db differ diff --git a/源代码/StgSharp/Math/Linear/vec3d.cs b/源代码/StgSharp/Math/Linear/vec3d.cs index 6d01380d..8bf30047 100644 --- a/源代码/StgSharp/Math/Linear/vec3d.cs +++ b/源代码/StgSharp/Math/Linear/vec3d.cs @@ -60,6 +60,11 @@ namespace StgSharp.Math return $"{X}\t{Y}\t{Z}"; } + public string ToString(string sample) + { + return $"{X.ToString(sample)}\t{Y.ToString(sample)}\t{Z.ToString(sample)}"; + } + public static bool operator ==(vec3d vec1, vec3d vec2) { return vec1.X == vec2.X diff --git a/源代码/StgSharp/Math/Scalar/Pow.cs b/源代码/StgSharp/Math/Scalar/Pow.cs index 8c6ef744..4f538b2e 100644 --- a/源代码/StgSharp/Math/Scalar/Pow.cs +++ b/源代码/StgSharp/Math/Scalar/Pow.cs @@ -31,6 +31,11 @@ { return float.PositiveInfinity; } + if (x==0&&y!=0) + { + return 0; + } + z = Calc.Log(x) * y; bool sign = false; diff --git a/源代码/StgSharp/bin/Debug/netstandard2.1/StgSharp.dll b/源代码/StgSharp/bin/Debug/netstandard2.1/StgSharp.dll index 0d5429a5..caf7874f 100644 Binary files a/源代码/StgSharp/bin/Debug/netstandard2.1/StgSharp.dll and b/源代码/StgSharp/bin/Debug/netstandard2.1/StgSharp.dll differ diff --git a/源代码/StgSharp/obj/Debug/netstandard2.1/StgSharp.dll b/源代码/StgSharp/obj/Debug/netstandard2.1/StgSharp.dll index 0d5429a5..caf7874f 100644 Binary files a/源代码/StgSharp/obj/Debug/netstandard2.1/StgSharp.dll and b/源代码/StgSharp/obj/Debug/netstandard2.1/StgSharp.dll differ diff --git a/源代码/StgSharp/obj/Debug/netstandard2.1/ref/StgSharp.dll b/源代码/StgSharp/obj/Debug/netstandard2.1/ref/StgSharp.dll index fc2a7d82..ef366fc4 100644 Binary files a/源代码/StgSharp/obj/Debug/netstandard2.1/ref/StgSharp.dll and b/源代码/StgSharp/obj/Debug/netstandard2.1/ref/StgSharp.dll differ diff --git a/源代码/StgSharp/obj/Debug/netstandard2.1/refint/StgSharp.dll b/源代码/StgSharp/obj/Debug/netstandard2.1/refint/StgSharp.dll index fc2a7d82..ef366fc4 100644 Binary files a/源代码/StgSharp/obj/Debug/netstandard2.1/refint/StgSharp.dll and b/源代码/StgSharp/obj/Debug/netstandard2.1/refint/StgSharp.dll differ