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

Use simplified formula

This commit is contained in:
Dean Herbert 2023-11-17 23:48:48 +09:00
parent a1673160f1
commit 307ec172cb
No known key found for this signature in database

View File

@ -340,7 +340,7 @@ namespace osu.Game.Rulesets.Osu.Replays
AddFrameToReplay(startFrame);
// ~477 as per stable.
const float spin_rpm = 60000f / 20 * (180 / MathF.PI) / 360;
const float spin_rpm = 0.05f / (2 * MathF.PI) * 60000;
float radsPerMillisecond = MathUtils.DegreesToRadians(spin_rpm * 360) / 60000;
switch (h)