UNPKG

@specy/liquid-glass

Version:

A Three.js powered library to make apple's liquid with glass effect

16 lines (13 loc) 647 B
import { ExtrudeGeometry } from 'three'; declare class PillGeometry extends ExtrudeGeometry { /** * Creates an instance of PillGeometry. * @param {number} [width=1] - The width of the box. * @param {number} [height=1] - The height of the box. * @param {number} [depth=1] - The total depth (thickness) of the box. * @param {number} [segments=16] - The number of segments used to create the rounded edges. * @param {number} [radius=0.1] - The radius of the corners and edges. */ constructor(width?: number, height?: number, depth?: number, segments?: number, radius?: number); } export { PillGeometry };