1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:52:55 +08:00

Rename VectorUtils to OsuHitObjectGenerationUtils

This commit is contained in:
Henry Lin 2021-06-25 09:43:14 +08:00
parent 3fcda83713
commit 26086ca1ef
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ namespace osu.Game.Rulesets.Osu.Mods
distanceToPrev * (float)Math.Sin(current.AngleRad)
);
posRelativeToPrev = VectorUtils.RotateAwayFromEdge(previous.EndPositionRandomised, posRelativeToPrev);
posRelativeToPrev = OsuHitObjectGenerationUtils.RotateAwayFromEdge(previous.EndPositionRandomised, posRelativeToPrev);
current.AngleRad = (float)Math.Atan2(posRelativeToPrev.Y, posRelativeToPrev.X);

View File

@ -7,7 +7,7 @@ using osuTK;
namespace osu.Game.Rulesets.Osu.Utils
{
public static class VectorUtils
public static class OsuHitObjectGenerationUtils
{
// 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