Rename `VectorHelper` to `VectorUtils`

This commit is contained in:
Henry Lin 2021-06-24 22:00:19 +08:00
parent 153e204d20
commit 3fcda83713
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ private void applyRandomisation(float rateOfChangeMultiplier, RandomObjectInfo p
distanceToPrev * (float)Math.Sin(current.AngleRad)
);
posRelativeToPrev = VectorHelper.RotateAwayFromEdge(previous.EndPositionRandomised, posRelativeToPrev);
posRelativeToPrev = VectorUtils.RotateAwayFromEdge(previous.EndPositionRandomised, posRelativeToPrev);
current.AngleRad = (float)Math.Atan2(posRelativeToPrev.Y, posRelativeToPrev.X);

View File

@ -7,7 +7,7 @@
namespace osu.Game.Rulesets.Osu.Utils
{
public static class VectorHelper
public static class VectorUtils
{
// The relative distance to the edge of the playfield before objects' positions should start to "turn around" and curve towards the middle.
// The closer the hit objects draw to the border, the sharper the turn