From e01f5a1a75b2e079d1ccfb82009a0872bb235ebf Mon Sep 17 00:00:00 2001
From: lewibs
Date: Wed, 7 Feb 2024 16:51:47 -0500
Subject: [PATCH 1/9] added rotation to DragControls
---
docs/examples/en/controls/DragControls.html | 7 ++-
examples/jsm/controls/DragControls.js | 53 +++++++++++++++++----
examples/misc_controls_drag.html | 7 ++-
3 files changed, 55 insertions(+), 12 deletions(-)
diff --git a/docs/examples/en/controls/DragControls.html b/docs/examples/en/controls/DragControls.html
index 067a29a19b67b1..a8a2e3972b349d 100644
--- a/docs/examples/en/controls/DragControls.html
+++ b/docs/examples/en/controls/DragControls.html
@@ -111,6 +111,11 @@ [property:Boolean transformGroup]
If set to `true`, [name] does not transform individual objects but the entire group. Default is `false`.
+ [property:String mode]
+
+ The current transformation mode. Possible values are "translate", and "rotate". Default is `translate`.
+
+
Methods
See the base [page:EventDispatcher] class for common methods.
@@ -146,4 +151,4 @@ Source
[link:https://github.com/mrdoob/three.js/blob/master/examples/jsm/controls/DragControls.js examples/jsm/controls/DragControls.js]