Remove unnecessary parentheses

This commit is contained in:
Gustas
2023-02-19 17:01:36 +02:00
committed by Pavel Penev
parent 157d1b32dc
commit 8d0fe52dd8
48 changed files with 78 additions and 64 deletions

View File

@@ -74,8 +74,8 @@ namespace OpenRA.Mods.Common.HitShapes
return new WDist(Math.Max(0, (PointB - p).Length - Radius.Length));
var projection = PointA + new int2(
(ab.X * t) / 1024,
(ab.Y * t) / 1024);
ab.X * t / 1024,
ab.Y * t / 1024);
var distance = (projection - p).Length;