From ad602b106a4921787eba784ea8a3c86ad8ae7f2a Mon Sep 17 00:00:00 2001 From: SirKhepre Date: Fri, 17 Feb 2017 13:10:05 -0500 Subject: [PATCH] Added missing methods --- three/three-colladaLoader.d.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/three/three-colladaLoader.d.ts b/three/three-colladaLoader.d.ts index f512d73cd9..6bdec6a9da 100644 --- a/three/three-colladaLoader.d.ts +++ b/three/three-colladaLoader.d.ts @@ -4,14 +4,20 @@ // Definitions by: Brandon Roberge declare namespace THREE { + export interface ColladaLoaderReturnType { + + } export class ColladaModel { - animations: any[];//[]; - kinematics: any;// { joints: []}; + animations: any[]; + kinematics: any; scene: THREE.Scene; + library: any; } export class ColladaLoader { constructor(); - load(url: string, onLoad: (model: ColladaModel) => void): void; + load(url: string, onLoad: (model: ColladaModel) => void, onProgress?: (request: ProgressEvent) => void, onError?:(event: ErrorEvent) => void): void; + setCrossOrigin(value: any): void; + parse(text: string): ColladaModel; } } \ No newline at end of file