From 792d0aa3c97d6367d5494bdc36f531c32bd8f296 Mon Sep 17 00:00:00 2001 From: "Yubing (Tom) Dong" Date: Tue, 11 Nov 2014 17:22:07 -0800 Subject: [PATCH] TrackballControls should extend EventDispatcher (threejs) Please see https://github.com/mrdoob/three.js/blob/master/examples/js/controls/Trac kballControls.js#L611 The prototype of THREE.TrackballControls is THREE.EventDispatcher.prototype. --- threejs/three-trackballcontrols.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threejs/three-trackballcontrols.d.ts b/threejs/three-trackballcontrols.d.ts index b4bda75ee971c6..ad6ffa9c36bcce 100644 --- a/threejs/three-trackballcontrols.d.ts +++ b/threejs/three-trackballcontrols.d.ts @@ -6,7 +6,7 @@ /// declare module THREE { - class TrackballControls { + class TrackballControls extends EventDispatcher { constructor(object:Camera, domElement?:HTMLElement); object:Camera;