mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +08:00
Use simplified formula
This commit is contained in:
parent
a1673160f1
commit
307ec172cb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user