UNPKG

@jscad/modeling

Version:

Constructive Solid Geometry (CSG) Library for JSCAD

12 lines (8 loc) 231 B
import Vec2 from '../maths/vec2/type' import Geom2 from '../geometries/geom2/type' export default square export interface SquareOptions { center?: Vec2 size?: number } declare function square(options?: SquareOptions): Geom2