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.

25 lines (24 loc) 699 B
export default stadium; export type StadiumOptions = { sx?: number; sy?: number; nx?: number; ny?: number; roundSegments?: number; edgeSegments?: number; }; /** * @typedef {object} StadiumOptions * @property {number} [sx=1] * @property {number} [sy=sx] * @property {number} [nx=1] * @property {number} [ny=nx] * @property {number} [roundSegments=8] * @property {number} [edgeSegments=1] */ /** * @alias module:stadium * @param {StadiumOptions} [options={}] * @returns {import("../types.js").SimplicialComplex} */ declare function stadium({ sx, sy, nx, ny, roundSegments, edgeSegments, }?: StadiumOptions, ...args: any[]): import("../types.js").SimplicialComplex;