fix(router/ng/eval): Flip alignment of outer edges

This makes it possible to route some paths, altho it looks really wrong on first glace.
I don't yet know exactly what's going on.
This commit is contained in:
Ellen Emilia Anna Zscheile 2025-06-30 15:09:26 +02:00
parent 38ef4d4a59
commit e3790eb366
1 changed files with 2 additions and 2 deletions

View File

@ -191,8 +191,8 @@ impl AstarContext {
} }
alignment alignment
} }
(Some(_), None) => Alignment::Left, (Some(_), None) => Alignment::Right,
(None, Some(_)) => Alignment::Right, (None, Some(_)) => Alignment::Left,
// this should only happen when one end-point is primal, handled above // this should only happen when one end-point is primal, handled above
(None, None) => unreachable!(), (None, None) => unreachable!(),
}; };