mirror of
https://github.com/ppy/osu.git
synced 2025-01-08 06:52:59 +08:00
Expand comment for clarification
This commit is contained in:
parent
307ec172cb
commit
e182acf3e8
@ -339,7 +339,8 @@ namespace osu.Game.Rulesets.Osu.Replays
|
|||||||
|
|
||||||
AddFrameToReplay(startFrame);
|
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;
|
const float spin_rpm = 0.05f / (2 * MathF.PI) * 60000;
|
||||||
float radsPerMillisecond = MathUtils.DegreesToRadians(spin_rpm * 360) / 60000;
|
float radsPerMillisecond = MathUtils.DegreesToRadians(spin_rpm * 360) / 60000;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user