Lines Matching refs:PI
143 PI = math.PI,
430 return (180 + math.atan2(-y, -x) * 180 / PI + 360) % 360;
445 return deg % 360 * PI / 180;
457 return Math.round ((rad * 180 / PI% 360)* 1000) / 1000;
1226 alpha = (90 - math.atan2(mx - nx, my - ny) * 180 / PI);
1833 var _120 = PI * 120 / 180,
1834 rad = PI / 180 * (+angle || 0),
1849 var cos = math.cos(PI / 180 * angle),
1850 sin = math.sin(PI / 180 * angle),
1868 f1 = x1 < cx ? PI - f1 : f1;
1869 f2 = x2 < cx ? PI - f2 : f2;
1870 f1 < 0 && (f1 = PI * 2 + f1);
1871 f2 < 0 && (f2 = PI * 2 + f2);
1873 f1 = f1 - PI * 2;
1876 f2 = f2 - PI * 2;
4064 return pow(2, -10 * n) * math.sin((n - .075) * (2 * PI) / .3) + 1;