UNPKG

@three3d/tools

Version:

@three3d/tools 提供了 ThreeJS 常用的工具库

29 lines (17 loc) 638 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [computeIntersectSpheres](./tools.computeintersectspheres.md) ## computeIntersectSpheres() function 计算相交球 **Signature:** ```typescript export declare function computeIntersectSpheres<IVec extends IVector>(points: (IVec & { radius: number; })[]): number[][]; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | points | (IVec &amp; { radius: number; })\[\] | | **Returns:** number\[\]\[\] 所有球的相交索引映射