Remove road edge seam generation when building junction mesh data

This commit is contained in:
2026-05-13 18:47:33 +02:00
parent cc438cd802
commit 931e129983

View File

@@ -485,13 +485,6 @@ export function buildSplineCorridorJunctionEdgeMeshData(options: {
}); });
if (isRoadMouthSegment(footprint.points, previousSegmentIndex)) { if (isRoadMouthSegment(footprint.points, previousSegmentIndex)) {
pushRoadEdgeSeam({
seamsByPath: new Map(),
junctionId: options.junction.id,
point: currentPoint,
outerOffset: startOuterOffset
});
addJunctionEdgeProfileCap({ addJunctionEdgeProfileCap({
indices, indices,
rowOffset: currentRow, rowOffset: currentRow,
@@ -501,13 +494,6 @@ export function buildSplineCorridorJunctionEdgeMeshData(options: {
} }
if (isRoadMouthSegment(footprint.points, nextSegmentIndex)) { if (isRoadMouthSegment(footprint.points, nextSegmentIndex)) {
pushRoadEdgeSeam({
seamsByPath: new Map(),
junctionId: options.junction.id,
point: nextPoint,
outerOffset: endOuterOffset
});
addJunctionEdgeProfileCap({ addJunctionEdgeProfileCap({
indices, indices,
rowOffset: nextRow, rowOffset: nextRow,