function c_tiledist(x1, y1, x2, y2) { return new vec2(abs(x1-y2), abs(y1-y2)); }