From f06bdefd25e06f2ee295295dfe46001011f6476d Mon Sep 17 00:00:00 2001 From: Givikap120 Date: Mon, 6 May 2024 01:49:45 +0300 Subject: [PATCH] removed AngleSigned --- .../Preprocessing/OsuDifficultyHitObject.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/osu.Game.Rulesets.Osu/Difficulty/Preprocessing/OsuDifficultyHitObject.cs b/osu.Game.Rulesets.Osu/Difficulty/Preprocessing/OsuDifficultyHitObject.cs index 64d12c6d9f..2b17451829 100644 --- a/osu.Game.Rulesets.Osu/Difficulty/Preprocessing/OsuDifficultyHitObject.cs +++ b/osu.Game.Rulesets.Osu/Difficulty/Preprocessing/OsuDifficultyHitObject.cs @@ -80,19 +80,12 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Preprocessing public double TravelTime { get; private set; } /// - /// Absolute angle the player has to take to hit this . + /// Angle the player has to take to hit this . /// Calculated as the angle between the circles (current-2, current-1, current). /// Ranges from 0 to PI /// public double? Angle { get; private set; } - /// - /// Signed version of the Angle. - /// Potentially should be used for more accurate angle bonuses - /// Ranges from -PI to PI - /// - public double? AngleSigned { get; private set; } - /// /// Retrieves the full hit window for a Great . /// @@ -516,8 +509,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Preprocessing float dot = Vector2.Dot(v1, v2); float det = v1.X * v2.Y - v1.Y * v2.X; - AngleSigned = Math.Atan2(det, dot); - Angle = Math.Abs((double)AngleSigned); + Angle = Math.Abs(Math.Atan2(det, dot)); } }