public void loadModel(String filename)
	{
		if(!loadedMeshes.containsKey(filename))
		{

			HashMap<String, Object> modelData = ColladaLoader.load(filename);
			
			//HACK
			if(filename.equals("temp/two.dae")){
				Game.skeleton = (Skeleton)modelData.get("skeleton");
				Game.animation = (Animation)modelData.get("animation");
			}
			
			
			//only set it if it's true, otherwise we overwrite with null, durr
			if(modelData.containsKey("skeleton")){
				this.hackySkeleton = (Skeleton)modelData.get("skeleton");
			}
			
			CompatibilityMesh mesh = null;
			if(modelData.containsKey("skeleton")){
				mesh = new CompatibilityMesh(filename, skinnedShader, modelData);
			}
			else
			{
				mesh = new CompatibilityMesh(filename, staticShader, modelData);
			}
			
			loadedMeshes.put(filename, mesh);
	
		}
	}