This commit is contained in:
Jason Davies 2013-03-06 14:56:54 +00:00
Родитель d789645231
Коммит 772c2f07ef
3 изменённых файлов: 6 добавлений и 6 удалений

2
d3.js поставляемый
Просмотреть файл

@ -6247,8 +6247,8 @@ d3 = function() {
return (b[0] - a[0]) * (c[1] - a[1]) - (c[0] - a[0]) * (b[1] - a[1]);
}
function interpolate(from, to, direction, listener) {
if (Math.abs(from[0] - to[0]) > ε && Math.abs(from[1] - to[1]) > ε) {
var a = corner(from, direction), a1 = corner(to, direction);
if (a !== a1) {
do {
listener.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);
} while ((a = (a + direction + 4) % 4) !== a1);

2
d3.min.js поставляемый

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -56,9 +56,9 @@ function d3_geo_clipView(x0, y0, x1, y1) {
}
function interpolate(from, to, direction, listener) {
if (Math.abs(from[0] - to[0]) > ε && Math.abs(from[1] - to[1]) > ε) {
var a = corner(from, direction),
a1 = corner(to, direction);
if (a !== a1) {
do {
listener.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);
} while ((a = (a + direction + 4) % 4) !== a1);