Browse Source

Understood my lord codefactor

CPKreuz 2 years ago
parent
commit
b9bf670fe6

+ 0 - 1
src/ChunkyImageLib/DataHolders/ShapeCorners.cs

@@ -222,5 +222,4 @@ public struct ShapeCorners
         // All projections overlap, so the shapes intersect
         return true;
     }
-
 }

+ 1 - 1
src/PixiEditor.DrawingApi.Core/Numerics/VecD.cs

@@ -135,7 +135,7 @@ public struct VecD : IEquatable<VecD>
         return (X * other.Y) - (Y * other.X);
     }
 
-    public double Dot(VecD other) => X * other.X + Y * other.Y;
+    public double Dot(VecD other) => (X * other.X) + (Y * other.Y);
     
     public VecD Multiply(VecD other)
     {