UNPKG

@tolokoban/tgd

Version:

ToloGameDev library for WebGL2

19 lines 690 B
import type { TgdVec3, TgdVec4 } from "../math"; import type { ArrayNumber3, ArrayNumber4 } from "../types"; import { TgdGeometry } from "./geometry"; export interface TgdGeometrySphereIcoOptions { center?: ArrayNumber3 | ArrayNumber4 | TgdVec3 | TgdVec4; radius?: number; /** * A value of 0 will get you a regular icosahedron. * Then, each subdivision will cut every triangle in 3 new triangles. * * - Minimum: 0 * - Default: 2 */ subdivisions?: number; } export declare class TgdGeometrySphereIco extends TgdGeometry { constructor({ center, radius, subdivisions }?: TgdGeometrySphereIcoOptions); } //# sourceMappingURL=sphere-ico.d.ts.map