const openGeometry = new OpenGeometry()
await openGeometry.setup()
const oPoly = new OPolygon()
- addVertex(x:number, y:number, z:number) - Add Point to the Given Polygon
- generateMesh() - Created a Flat 2D Mesh from the given Vertices
- Minimum 3 Vertices are needed, else ask users for it
- Extrude is a operation which elevates the given 2D polygon by a given height
polygon.extrude(height: number)
- returns a Buffer Geometry