1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 03:02:54 +08:00

Reduce lenience on SpinFramesGenerator

Having this too high would influence the values we expect the rotation
to be at between keyframes. One degree is enough to account for floating
point considerations, so seems like a good place to leave this for now.
This commit is contained in:
Dean Herbert 2023-10-31 16:20:59 +09:00
parent fa220d34de
commit 15037bcbd2
No known key found for this signature in database

View File

@ -14,7 +14,7 @@ namespace osu.Game.Rulesets.Osu.Tests
/// <summary>
/// A small amount to spin beyond a given angle to mitigate floating-point precision errors.
/// </summary>
public const float SPIN_ERROR = MathF.PI / 8;
public const float SPIN_ERROR = 1;
/// <summary>
/// The offset from the centre of the spinner at which to spin.