package com.akjava.gwt.three.client.extras.loaders;

import com.akjava.gwt.three.client.gwt.collada.ColladaData;
import com.google.gwt.core.client.JavaScriptObject;

public class ColladaLoader extends JavaScriptObject{

	protected ColladaLoader(){}
	
	
	public final native void load(String path,ColladaLoadHandler handler)/*-{
	this.load(path,function ( collada ) {
		handler.@com.akjava.gwt.three.client.extras.loaders.ColladaLoader$ColladaLoadHandler::colladaReady(Lcom/akjava/gwt/three/client/gwt/collada/ColladaData;)(collada);
		});
	
	}-*/;
	
	public static interface ColladaLoadHandler {
		public void colladaReady(ColladaData collada);
	}
}

@@ -220,16 +220,67 @@
 ect%7B%0D%0A%0D%0A
+%09/*%0D%0A%09 * dont workd on r46,only work on dev%0D%0A%09 */%0D%0A
 %09protect

improve collada loader