1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-12 04:12:56 +08:00

Make rescale a static method

This commit is contained in:
tsunyoku 2025-01-21 14:33:40 +00:00
parent 20a76d832d
commit e0882d2a53

View File

@ -203,9 +203,10 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
/// Applies a final re-scaling of the star rating.
/// </summary>
/// <param name="sr">The raw star rating value before re-scaling.</param>
private double rescale(double sr)
private static double rescale(double sr)
{
if (sr < 0) return sr;
if (sr < 0)
return sr;
return 10.43 * Math.Log(sr / 8 + 1);
}