eastern-flames/eastern flames/scripts/c_tiledist/c_tiledist.gml

3 lines
81 B
Plaintext
Raw Permalink Normal View History

2022-08-19 01:05:37 +00:00
function c_tiledist(x1, y1, x2, y2) {
2022-08-19 02:26:10 +00:00
return new vec2(abs(x1-x2), abs(y1-y2));
2022-08-19 01:05:37 +00:00
}