<NME> OrbitControl.d.ts
<BEF> import { Node } from '../Node';
import { Vector3 } from '../math/Vector3';

interface IOrbitControlOption {
    target?: Node;
    domElement?: HTMLElement;
    sensitivity?: number;
    origin?: Vector3;
    up?: Vector3;
    minDistance?: number;
    maxDistance?: number;
    minPolarAngle?: number;
    maxPolarAngle?: number;
}

export class OrbitControl {

    constructor(option?: IOrbitControlOption);

    target: Node;

    domElement: HTMLElement;

    sensitivity: number;

    origin: Vector3;

    up: Vector3;

    minDistance: number;

    maxDistance: number;

    minPolarAngle: number;

    maxPolarAngle: number;

    enable(): void;

    disable(): void;

    update(deltaTime: number): void;
}
}

<MSG> Fix OrbitControl ts declaration

<DFF> @@ -1,43 +1,85 @@
 import { Node } from '../Node';
 import { Vector3 } from '../math/Vector3';
+import { Timeline } from '../Timeline';
 
 interface IOrbitControlOption {
     target?: Node;
     domElement?: HTMLElement;
-    sensitivity?: number;
-    origin?: Vector3;
-    up?: Vector3;
+    timeline?: Timeline;
+
     minDistance?: number;
     maxDistance?: number;
-    minPolarAngle?: number;
-    maxPolarAngle?: number;
+
+    minAlpha?: number;
+    maxAlpha?: number;
+
+    minBeta?: number;
+    maxBeta?: number;
+
+    autoRotate?: boolean;
+    autoRotateAfterStill?: number;
+    autoRotateDirection?: 'cw'|'ccw';
+    autoRotateSpeed?: number;
+
+    damping?: number;
+    rotateSensitivity?: number;
+    zoomSensitivity?: number;
+    panSensitivity?: number;
 }
 
 export class OrbitControl {
 
     constructor(option?: IOrbitControlOption);
 
-    target: Node;
+    target?: Node;
+    domElement?: HTMLElement;
+    timeline?: Timeline;
+
+    minDistance?: number;
+    maxDistance?: number;
+
+    minAlpha?: number;
+    maxAlpha?: number;
+
+    minBeta?: number;
+    maxBeta?: number;
 
-    domElement: HTMLElement;
+    autoRotateAfterStill?: number;
+    autoRotateDirection?: 'cw'|'ccw';
+    autoRotateSpeed?: number;
 
-    sensitivity: number;
+    damping?: number;
+    rotateSensitivity?: number;
+    zoomSensitivity?: number;
+    panSensitivity?: number
 
-    origin: Vector3;
+    init(): void;
 
-    up: Vector3;
+    dispose(): void;
 
-    minDistance: number;
+    getDistance(): number;
+    setDistance(distance: number): void;
 
-    maxDistance: number;
+    getAlpha(): number;
+    setAlpha(alpha: number): void;
 
-    minPolarAngle: number;
+    getBeta(): number;
+    setBeta(beta: number): void;
 
-    maxPolarAngle: number;
+    getCenter(): [number, number, number];
+    setCenter(center: [number, number, number]): void;
 
-    enable(): void;
+    animateTo(opts: {
+        distance?: number;
+        alpha?: number;
+        beta?: number;
+        center?: [number, number, number];
+        duration?: number;
+        easing?: string|function;
+        done?: () => void;
+    });
 
-    disable(): void;
+    stopAllAnimation(): void;
 
     update(deltaTime: number): void;
 }
\ No newline at end of file

{'addition_count': 58, 'commit_subject': 'Fix OrbitControl ts declaration', 'deletion_count': 16, 'file_extension': '.ts', 'lang': 'd', 'license': 'bsd-2-clause', 'repo_name': 'pissang/claygl'}