mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-15 06:53:59 +01:00
6 lines
142 B
Plaintext
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;
|
|
} |