mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 05:32:54 +08:00
Calculate scaled positions prior to square-rooting
This commit is contained in:
parent
1ad5090ad6
commit
35f45e74dc
@ -74,7 +74,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Preprocessing
|
||||
lastTravelDistance = lastSlider.LazyTravelDistance;
|
||||
}
|
||||
|
||||
JumpDistance = (BaseObject.StackedPosition - lastCursorPosition).Length * scalingFactor;
|
||||
JumpDistance = (BaseObject.StackedPosition * scalingFactor - lastCursorPosition * scalingFactor).Length;
|
||||
TravelDistance = lastTravelDistance * scalingFactor;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user