mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 13:22:55 +08:00
5c6cd879dd
Code originally read Velocity = scoringDistance / beatLength = BASE_SCORING_DISTANCE * SliderMultiplier * GetPrecisionAdjustedSliderVelocityMultiplier() / beatLength Given (mathematically, floats are not generally as forgiving): GetPrecisionAdjustedBeatLength() = beatLength / GetPrecisionAdjustedSliderVelocityMultiplier() it follows that (inverting both sides): 1 / GetPrecisionAdjustedBeatLength() = GetPrecisionAdjustedSliderVelocityMultiplier() / beatLength and therefore Velocity = BASE_SCORING_DISTANCE * SliderMultiplier * GetPrecisionAdjustedSliderVelocityMultiplier() / beatLength = BASE_SCORING_DISTANCE * SliderMultiplier / GetPrecisionAdjustedBeatLength() and to recover `scoringDistance` scoringDistance = Velocity * beatLength |
||
---|---|---|
.. | ||
Drawables | ||
HitCircle.cs | ||
ISliderProgress.cs | ||
OsuHitObject.cs | ||
Slider.cs | ||
SliderEndCircle.cs | ||
SliderHeadCircle.cs | ||
SliderRepeat.cs | ||
SliderTailCircle.cs | ||
SliderTick.cs | ||
Spinner.cs | ||
SpinnerBonusTick.cs | ||
SpinnerTick.cs |