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.
19 lines (18 loc) • 467 B
TypeScript
export default box;
export type BoxOptions = {
sx?: number;
sy?: number;
sz?: number;
};
/**
* @typedef {object} BoxOptions
* @property {number} [sx=1]
* @property {number} [sy=sx]
* @property {number} [sz=sx]
*/
/**
* @alias module:box
* @param {BoxOptions} [options={}]
* @returns {import("../types.js").BasicSimplicialComplex}
*/
declare function box({ sx, sy, sz }?: BoxOptions, ...args: any[]): import("../types.js").BasicSimplicialComplex;