fix: keep complex islands beyond outer lane edge

This commit is contained in:
que01 committed 2026-09-15 13:53:31 +08:00
1 parent 3ed503a986
commit c3579074fd
3 files changed
+19 -2

No files matched your search

+1 -1
View File
@@ -547,7 +547,7 @@ function buildComplexJunctionGeometry(model, cluster, helpers) {
landing(first, pair.a),
landing(second, pair.b),
COMPLEX_CROSSWALK_DEPTH_METERS,
{ maxLegLength: outerRadius },
{ maxLegLength: outerRadius, minLegLength: Math.max(outerRadius - coreRadius, COMPLEX_CROSSWALK_DEPTH_METERS) },
);
if (contactSolution.status !== 'solved') {
cornerDiagnostics.push(