mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-25 14:36:13 +01:00
6 lines
No EOL
142 B
Text
6 lines
No EOL
142 B
Text
function point_direction_positive(x0, y0, x1, y1) {
|
|
var dir = point_direction(x0, y0, x1, y1);
|
|
if(dir < 0) dir = 360 + dir;
|
|
|
|
return dir;
|
|
} |