daily update on 20230804 by nitload youmu

This commit is contained in:
Nitload
2023-08-04 22:51:24 +08:00
parent aae7e0292c
commit b3785e35af
55 changed files with 1363 additions and 791 deletions
+12
View File
@@ -220,6 +220,18 @@ namespace StgSharp.Math
);
}
public static Vec3d operator /(Vec3d vec, float value)
{
return new Vec3d(
internalIO.divps_const_internal(vec._m128Ptr,value)
);
}
public static float operator *(Vec3d vec1, Vec3d vec2)
{
return VectorCalc.Multiple(vec1,vec2);
}
public unsafe override string ToString()
{
return (*(M128*)_m128Ptr).ToString();