UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

7 lines (6 loc) 237 B
import { Line3, Vector3 } from 'three'; export interface ClosestPoints { pointOnLine1: Vector3; pointOnLine2: Vector3; } export declare function closestPointsBetweenLines(line1: Line3, line2: Line3, target: ClosestPoints): void;