Make angles unsigned

This commit is contained in:
smoogipoo 2018-12-09 20:31:04 +09:00
parent 434d7d1809
commit 162774ce27

View File

@ -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));
}
}