Skip to content

Commit

Permalink
Understood my lord codefactor
Browse files Browse the repository at this point in the history
  • Loading branch information
CPKreu committed May 11, 2023
1 parent ca12b80 commit b9bf670
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/ChunkyImageLib/DataHolders/ShapeCorners.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,4 @@ public bool Intersects(RectD rect)
// All projections overlap, so the shapes intersect
return true;
}

}
2 changes: 1 addition & 1 deletion src/PixiEditor.DrawingApi.Core/Numerics/VecD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public double Cross(VecD other)
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)
{
Expand Down

0 comments on commit b9bf670

Please sign in to comment.