daily update on 20230829 by nitload youmu

This commit is contained in:
Nitload
2023-08-29 22:29:47 +08:00
parent 8aac9fee87
commit 1fcbfb972b
125 changed files with 6505 additions and 2077 deletions
+9 -2
View File
@@ -1,5 +1,5 @@
using StgSharp.Control;
using System;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -10,7 +10,7 @@ namespace StgSharp.Math
public struct Vec3d
{
[FieldOffset(0)]
internal M128 vec;
internal Vector4 vec;
[FieldOffset(0)] public float X;
[FieldOffset(4)] public float Y;
@@ -72,5 +72,12 @@ namespace StgSharp.Math
vec1.Z * vec2.Z;
}
public string ToString(string sample)
{
return $"{this.X}\t{this.Y}\t{this.Z}\t";
}
}
}