mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 06:56:45 +01:00
6 lines
142 B
Text
6 lines
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;
|
||
|
}
|