diff --git a/examples-testing/changes.patch b/examples-testing/changes.patch index b5d32b7e8..b5a038d61 100644 --- a/examples-testing/changes.patch +++ b/examples-testing/changes.patch @@ -1059,7 +1059,7 @@ index 0b6fcc516..d97bb4c3b 100644 const box = new THREE.Mesh(boxGeometry, boxMaterial); diff --git a/examples-testing/examples/misc_controls_trackball.ts b/examples-testing/examples/misc_controls_trackball.ts -index c2512a352..c4719944f 100644 +index da24a8e8d..21ac59087 100644 --- a/examples-testing/examples/misc_controls_trackball.ts +++ b/examples-testing/examples/misc_controls_trackball.ts @@ -5,7 +5,12 @@ import { GUI } from 'three/addons/libs/lil-gui.module.min.js'; @@ -1076,7 +1076,7 @@ index c2512a352..c4719944f 100644 const params = { orthographicCamera: false, -@@ -96,7 +101,7 @@ function init() { +@@ -103,7 +108,7 @@ function init() { createControls(perspectiveCamera); } diff --git a/three.js b/three.js index 047f26834..c3ce57e21 160000 --- a/three.js +++ b/three.js @@ -1 +1 @@ -Subproject commit 047f26834b9c345773c67a10023b60ab9c9fce44 +Subproject commit c3ce57e217b9361f66b795ec1d42b371ac4eb249 diff --git a/types/three/examples/jsm/controls/TrackballControls.d.ts b/types/three/examples/jsm/controls/TrackballControls.d.ts index a1b10f8ce..d1c8182e5 100644 --- a/types/three/examples/jsm/controls/TrackballControls.d.ts +++ b/types/three/examples/jsm/controls/TrackballControls.d.ts @@ -47,6 +47,11 @@ declare class TrackballControls extends Controls { */ panSpeed: number; + /** + * The roll speed used for multi-touch roll. Default is `1`. + */ + rollSpeed: number; + /** * Whether or not rotation is disabled. Default is `false`. */ @@ -62,6 +67,11 @@ declare class TrackballControls extends Controls { */ noPan: boolean; + /** + * Whether two finger twist gesture rolls the camera around its view axis or not. Default is `false`. + */ + multiTouchRoll: boolean; + /** * Whether or not damping is disabled. Default is `false`. */