Lines Matching refs:PI
762 (2 * Math.PI) / .3) + 1;
867 PI = math.PI,
1060 return (180 + math.atan2(-y, -x) * 180 / PI + 360) % 360;
1066 return deg % 360 * PI / 180;
1069 return rad * 180 / PI % 360;
5328 PI = math.PI,
5474 alpha = (90 - math.atan2(mx - nx, my - ny) * 180 / PI);
5785 var rad = Math.PI / 180,
6061 var _120 = PI * 120 / 180,
6062 rad = PI / 180 * (+angle || 0),
6077 var cos = math.cos(PI / 180 * angle),
6078 sin = math.sin(PI / 180 * angle),
6096 f1 = x1 < cx ? PI - f1 : f1;
6097 f2 = x2 < cx ? PI - f2 : f2;
6098 f1 < 0 && (f1 = PI * 2 + f1);
6099 f2 < 0 && (f2 = PI * 2 + f2);
6101 f1 = f1 - PI * 2;
6104 f2 = f2 - PI * 2;