INNER CODE UNIT · JavaScript

h

Brbb/graphql-rover · js/utils.js:115

                h = -h;
            }
            sx = dy === 0 ? 0 : h * dx / dy;
            sy = h;
        } else {
            // Intersection is left or right of rect.
            if (dx < 0) {
                w = -w;
            }
            sx = w;
            sy = dx === 0 ? 0 : w * dy / dx;
        }
        return {
            x: x + sx,
            y: y + sy
        };
    }
};

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…