UNPKG

@xtor/cga.js

Version:

Xtor Compute Geometry Algorithm Libary 计算几何算法库

7 lines (6 loc) 183 B
import { Vec3 } from '../math/Vec3'; /** * 计算体积 * @param faces 一个几何体的所有三角面 */ export declare function calculateVolume(faces: Vec3[][]): number;