Pixel-Composer/scripts/point_direction_positive/point_direction_positive.gml
2023-01-25 12:49:00 +07:00

6 lines
142 B
Plaintext

function point_direction_positive(x0, y0, x1, y1) {
var dir = point_direction(x0, y0, x1, y1);
if(dir < 0) dir = 360 + dir;
return dir;
}