From 1e50bf2d44a6cc7513235c651f555192c45a9f4e Mon Sep 17 00:00:00 2001 From: Julian Strecker Date: Fri, 2 Nov 2018 10:26:41 +0100 Subject: [PATCH] Add screenSpacePanning to OrbitControls which should be there since https://github.com/mrdoob/three.js/commit/312e1b0cd29a859cb81964fcb68b31c3c0ee0914 --- types/three/index.d.ts | 1 + types/three/three-orbitcontrols.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/types/three/index.d.ts b/types/three/index.d.ts index 74ce9ac0ee..6530be5757 100644 --- a/types/three/index.d.ts +++ b/types/three/index.d.ts @@ -21,6 +21,7 @@ // Ethan Kay , // Methuselah96 // Dilip Ramirez +// Julian Strecker // Definitions: https://github.com//DefinitelyTyped // TypeScript Version: 2.8 diff --git a/types/three/three-orbitcontrols.d.ts b/types/three/three-orbitcontrols.d.ts index 1d4979217f..6d8627c6ad 100644 --- a/types/three/three-orbitcontrols.d.ts +++ b/types/three/three-orbitcontrols.d.ts @@ -32,6 +32,7 @@ export class OrbitControls { mouseButtons: {ORBIT: MOUSE; ZOOM: MOUSE; PAN: MOUSE;}; enableDamping: boolean; dampingFactor: number; + screenSpacePanning: boolean; rotateLeft(angle?: number): void;