mirror of
https://github.com/ppy/osu
synced 2025-02-08 22:27:14 +00:00
Make angles unsigned
This commit is contained in:
parent
434d7d1809
commit
162774ce27
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user