Merge pull request #2907 from drewnoakes/threejs

Fix incorrect signature of JSONLoader.parse(...)
This commit is contained in:
Basarat Ali Syed
2014-10-05 17:51:31 +11:00
+1 -1
View File
@@ -1782,7 +1782,7 @@ declare module THREE {
loadAjaxJSON(context: JSONLoader, url: string, callback: (geometry: Geometry, materials: Material[]) => void , texturePath?: string, callbackProgress?: (progress: Progress) => void ): void;
parse(json:string, texturePath:string): any;
parse(json: any, texturePath?: string): { geometry: Geometry; materials?: Material[] };
}
export interface JSonLoaderResultGeometry extends Geometry {