2022-08-18 19:26:10 -07:00

3 lines
81 B
Plaintext

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