Lines Matching refs:rad
444 R.rad = function (deg) {
456 R.deg = function (rad) { argument
457 return Math.round ((rad * 180 / PI% 360)* 1000) / 1000;
1834 rad = PI / 180 * (+angle || 0),
1837 rotate = cacher(function (x, y, rad) { argument
1838 var X = x * math.cos(rad) - y * math.sin(rad),
1839 Y = x * math.sin(rad) + y * math.cos(rad);
1843 xy = rotate(x1, y1, -rad);
1846 xy = rotate(x2, y2, -rad);
1914 … newres[i] = i % 2 ? rotate(res[i - 1], res[i], rad).y : rotate(res[i], res[i + 1], rad).x;
2570 a = R.rad(a);