daily update on 20230309 by nitload youmu

This commit is contained in:
Nitload
2023-03-10 01:57:31 +08:00
parent 11cdd85b3b
commit 561196bed2
53 changed files with 1491 additions and 360 deletions
+1 -11
View File
@@ -77,17 +77,7 @@ namespace StgSharp.Math
public static Vec2D operator -(Vec2D vec1, Vec2D vec2)
{
return new Vec2D(vec1.X + vec2.X, vec1.Y + vec2.Y);
}
public static float operator *(Vec2D vec1, Vec2D vec2)
{
return vec1.X * vec2.X + vec1.Y*vec2.Y;
}
public static float operator *(Vec2D vec, Colum2D colum)
{
return vec.X * colum.Y + vec.Y * colum.X;
return new Vec2D(vec1.X - vec2.X, vec1.Y - vec2.Y);
}
public static Vec2D operator *(Vec2D vec, float x)