UNPKG

primitive-geometry

Version:

Geometries for 3D rendering, including normals, UVs and cell indices (faces). Perfect if you want to supercharge your dependency folder... with 30KB of geometries.

15 lines (14 loc) 425 B
export default tetrahedron; export type TetrahedronOptions = { radius?: number; }; /** * @typedef {object} TetrahedronOptions * @property {number} [radius=0.5] */ /** * @alias module:tetrahedron * @param {TetrahedronOptions} [options={}] * @returns {import("../types.js").SimplicialComplex} */ declare function tetrahedron({ radius }?: TetrahedronOptions, ...args: any[]): import("../types.js").SimplicialComplex;