Explorar el Código

JSM: Update TS file for DragControls

Mugen87 hace 6 años
padre
commit
c7c9e879cc
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      examples/jsm/controls/DragControls.d.ts

+ 3 - 2
examples/jsm/controls/DragControls.d.ts

@@ -1,9 +1,10 @@
 import {
   Camera,
-	Object3D
+  EventDispatcher,
+  Object3D
 } from '../../../src/Three';
 
-export class DragControls {
+export class DragControls extends EventDispatcher {
   constructor(objects: Object3D[], camera: Camera, domElement?: HTMLElement);
 
   object: Camera;