src/app/function/intersection.function.ts
Function intersection
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function intersection(c1: Circle, c2: Circle, radius: number): Array<Vector3> {
const intersections: Array<Vector3> = [];
// project to (x,y,z) with unit radius
const x1: Vector3 = c1.center.clone().normalize();