mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Make angles unsigned
This commit is contained in:
@ -104,7 +104,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Preprocessing
|
||||
float dot = Vector2.Dot(v1, v2);
|
||||
float det = v1.X * v2.Y - v1.Y * v2.X;
|
||||
|
||||
Angle = Math.Atan2(det, dot);
|
||||
Angle = Math.Abs(Math.Atan2(det, dot));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user