1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25:11 +08:00

Fix inverted return statement

Forgot to run tests, all passing now.
This commit is contained in:
Naxess 2021-03-22 19:48:21 +01:00
parent 3fa5852e00
commit e922e67c98

View File

@ -244,7 +244,7 @@ namespace osu.Game.Rulesets.Objects
bool exterior = abSq > acSq || bcSq > acSq;
float threshold = exterior ? 0.05f : 0.001f;
return Math.Abs(det) < threshold;
return Math.Abs(det) >= threshold;
}
private void invalidate()