Lines Matching refs:rad
841 R.rad = function (deg) {
853 R.deg = function (rad) { argument
854 return rad * 180 / PI % 360;
2220 rad = PI / 180 * (+angle || 0),
2223 rotate = cacher(function (x, y, rad) { argument
2224 var X = x * math.cos(rad) - y * math.sin(rad),
2225 Y = x * math.sin(rad) + y * math.cos(rad);
2229 xy = rotate(x1, y1, -rad);
2232 xy = rotate(x2, y2, -rad);
2300 … newres[i] = i % 2 ? rotate(res[i - 1], res[i], rad).y : rotate(res[i], res[i + 1], rad).x;
2925 a = R.rad(a);
5838 var vector = [0, 0, math.cos(R.rad(angle)), math.sin(R.rad(angle))],