Pixel-Composer/scripts/point_direction_positive/point_direction_positive.gml

6 lines
142 B
Plaintext
Raw Normal View History

2023-01-25 06:49:00 +01:00
function point_direction_positive(x0, y0, x1, y1) {
var dir = point_direction(x0, y0, x1, y1);
if(dir < 0) dir = 360 + dir;
return dir;
}