1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

Expand comment for clarification

This commit is contained in:
Bartłomiej Dach 2023-11-20 11:50:28 +09:00
parent 307ec172cb
commit e182acf3e8
No known key found for this signature in database

View File

@ -339,7 +339,8 @@ namespace osu.Game.Rulesets.Osu.Replays
AddFrameToReplay(startFrame);
// ~477 as per stable.
// 0.05 rad/ms, or ~477 RPM, as per stable.
// the redundant conversion from RPM to rad/ms is here for ease of testing custom SPM specs.
const float spin_rpm = 0.05f / (2 * MathF.PI) * 60000;
float radsPerMillisecond = MathUtils.DegreesToRadians(spin_rpm * 360) / 60000;