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 icosahedron; export type IcosahedronOptions = { radius?: number; }; /** * @typedef {object} IcosahedronOptions * @property {number} [radius=0.5] */ /** * @alias module:icosahedron * @param {IcosahedronOptions} [options={}] * @returns {import("../types.js").SimplicialComplex} */ declare function icosahedron({ radius }?: IcosahedronOptions, ...args: any[]): import("../types.js").SimplicialComplex;