daily update on 20230829 by nitload youmu
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user