mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
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.
This commit is contained in:
Vendored
+1
-1
@@ -6,7 +6,7 @@
|
||||
/// <reference path="./three.d.ts" />
|
||||
|
||||
declare module THREE {
|
||||
class TrackballControls {
|
||||
class TrackballControls extends EventDispatcher {
|
||||
constructor(object:Camera, domElement?:HTMLElement);
|
||||
|
||||
object:Camera;
|
||||
|
||||
Reference in New Issue
Block a user