diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-01-12 13:41:00 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2021-01-12 14:07:56 +0100 |
commit | 228eceeed40b0f86e75a394fe8d65e6e93ca2370 (patch) | |
tree | 1409c2d9aa6924a35464e30af78e7281502ab36e /script.it/worker_messages | |
parent | 1aa90219e3e74bac3afbde0ec120e098b50bd0c5 (diff) |
Move path, some refactoring
Diffstat (limited to 'script.it/worker_messages')
-rwxr-xr-x | script.it/worker_messages/worker_messages.ml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/script.it/worker_messages/worker_messages.ml b/script.it/worker_messages/worker_messages.ml index b33bb23..7efd3d3 100755 --- a/script.it/worker_messages/worker_messages.ml +++ b/script.it/worker_messages/worker_messages.ml @@ -3,7 +3,14 @@ open Js_of_ocaml type to_worker = [ | `Complete of Outline.t | `DeletePoint of (Path.Point.t * Outline.t) + + (* Update the interior path *) | `Back of Outline.t + + (* Translate a path *) + | `TranslatePath of (Outline.t * Gg.v2) + + | `TranslatePoint of (Path.Point.t * Outline.t) ] type from_worker = [ |