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

@@ -63,8 +63,8 @@ namespace OpenRA.Traits
float2 GetScrollOffset()
{
return GetMultiplier() * GetIntensity() * new float2(
(float)Math.Sin((ticks * 2 * Math.PI) / 4),
(float)Math.Cos((ticks * 2 * Math.PI) / 5));
(float)Math.Sin(ticks * 2 * Math.PI / 4),
(float)Math.Cos(ticks * 2 * Math.PI / 5));
}
float2 GetMultiplier()