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