daily update on 20230927 by nitload youmu, all polygon4 display available, optimizing on C/C# interoperation

This commit is contained in:
Nitload
2023-09-28 01:43:27 +08:00
parent 5d701bce0c
commit 6c3349f5a2
130 changed files with 3280 additions and 25074 deletions
@@ -1,6 +1,9 @@
namespace StgSharp.Math
using System.Numerics;
using System.Runtime.CompilerServices;
namespace StgSharp.Math
{
public unsafe static partial class Vector
public unsafe static partial class VectorCalc
{
public static Vec3d To3D(Vec2d vec)
{
@@ -26,6 +29,11 @@
}
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static Vec3d To3D(Vector4 vector)
{
return new Vec3d(vector);
}
}