Increase exterior threshold

This commit is contained in:
Naxess
2021-03-24 05:55:34 +01:00
parent f80b3ada25
commit e0240ab9d9

View File

@ -191,7 +191,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
// Exterior bottleneck is drawing-related, interior bottleneck is approximation-related,
// where the latter is much faster, hence differing thresholds
bool exterior = abSq > acSq || bcSq > acSq;
float threshold = exterior ? 0.05f : 0.001f;
float threshold = exterior ? 0.35f : 0.001f;
return Math.Abs(det) >= threshold;
}