Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples-testing/changes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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);
}

Expand Down
10 changes: 10 additions & 0 deletions types/three/examples/jsm/controls/TrackballControls.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ declare class TrackballControls extends Controls<TrackballControlsEventMap> {
*/
panSpeed: number;

/**
* The roll speed used for multi-touch roll. Default is `1`.
*/
rollSpeed: number;

/**
* Whether or not rotation is disabled. Default is `false`.
*/
Expand All @@ -62,6 +67,11 @@ declare class TrackballControls extends Controls<TrackballControlsEventMap> {
*/
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`.
*/
Expand Down
Loading