Skip to content

Commit bf6f04f

Browse files
committed
Change radians to degrees
1 parent 665d8a2 commit bf6f04f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

osu.Game.Rulesets.Osu/Difficulty/Evaluators/ReadingEvaluator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ private static double getConstantAngleNerfFactor(OsuDifficultyHitObject current)
235235
double weight = 1.0;
236236

237237
// Be sure that one of the angles is very sharp, when other is wide
238-
weight *= DifficultyCalculationUtils.ReverseLerp(Math.Min(loopObj.Angle.Value, loopObjPrev0.Angle.Value), 0.1 * Math.PI, 0.02 * Math.PI);
239-
weight *= DifficultyCalculationUtils.ReverseLerp(Math.Max(loopObj.Angle.Value, loopObjPrev0.Angle.Value), 0.4 * Math.PI, 0.65 * Math.PI);
238+
weight *= DifficultyCalculationUtils.ReverseLerp(Math.Min(loopObj.Angle.Value, loopObjPrev0.Angle.Value) * 180 / Math.PI, 20, 5);
239+
weight *= DifficultyCalculationUtils.ReverseLerp(Math.Max(loopObj.Angle.Value, loopObjPrev0.Angle.Value) * 180 / Math.PI, 60, 120);
240240

241241
// Lerp between max angle difference and rescaled alternating difference, with more harsh scaling compared to normal difference
242242
angleDifferenceAlternating = double.Lerp(Math.PI, 0.1 * angleDifferenceAlternating, weight);

0 commit comments

Comments
 (0)