This commit is contained in:
vcoppe committed 2026-10-07 18:45:56 +02:00
1 parent a48608840f
commit 290f4d8c44
8 files changed
+213 -28

No files matched your search

+7
View File
@@ -375,6 +375,13 @@ pub fn reverse() -> bool {
edit(Command::Reverse(engine::Reverse))
}
/// Adds to each selected segment a reversed copy of itself (without repeating its last point), so that it goes back to where it
/// started.
#[wasm_bindgen]
pub fn round_trip() -> bool {
edit(Command::RoundTrip(engine::RoundTrip))
}
// Routing
//
// The indices of the trackpoints and of the anchors are the ones of the routing buffers: they only