mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 07:42:55 +08:00
Increase exterior threshold
This commit is contained in:
parent
f80b3ada25
commit
e0240ab9d9
@ -191,7 +191,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
|
|||||||
// Exterior bottleneck is drawing-related, interior bottleneck is approximation-related,
|
// Exterior bottleneck is drawing-related, interior bottleneck is approximation-related,
|
||||||
// where the latter is much faster, hence differing thresholds
|
// where the latter is much faster, hence differing thresholds
|
||||||
bool exterior = abSq > acSq || bcSq > acSq;
|
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;
|
return Math.Abs(det) >= threshold;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user