summaryrefslogtreecommitdiff
path: root/script.it/worker_messages
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-01-12 13:41:00 +0100
committerSébastien Dailly <sebastien@chimrod.com>2021-01-12 14:07:56 +0100
commit228eceeed40b0f86e75a394fe8d65e6e93ca2370 (patch)
tree1409c2d9aa6924a35464e30af78e7281502ab36e /script.it/worker_messages
parent1aa90219e3e74bac3afbde0ec120e098b50bd0c5 (diff)
Move path, some refactoring
Diffstat (limited to 'script.it/worker_messages')
-rwxr-xr-xscript.it/worker_messages/worker_messages.ml7
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 = [