UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

7 lines (6 loc) 651 B
import { BufferGeometry, Vector3 } from 'three'; import type { geometries } from '@jscad/modeling'; import { CSGTesselationParams } from '../CsgCommon'; export declare function geom2ToObject3D(csg: geometries.geom2.Geom2, tesselationParams: CSGTesselationParams): import("three").LineSegments<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>; export declare function geom2ToBufferGeometry(csg: geometries.geom2.Geom2): BufferGeometry<import("three").NormalBufferAttributes>; export declare function geom2Positions(csg: geometries.geom2.Geom2): Vector3[];