同步代码

This commit is contained in:
ChenX
2023-08-07 14:56:19 +08:00
parent b535db4ba8
commit 2adf047675
244 changed files with 3542 additions and 1255 deletions

View File

@@ -1,7 +1,5 @@
import { BufferGeometry } from "three";
import { CSG } from "../csg/core/CSG";
import { Polygon } from "../csg/core/math/Polygon3";
import { LineGeometry } from "three/examples/jsm/lines/LineGeometry";
import { Geom3Res, PolygonRes } from "../Common/CSGIntersect";
export declare class EdgesGeometry extends BufferGeometry {
/**
* 在使用Extrude实体的时候,有可能导致面无限分裂,并且有可能造成丢线问题,使用FromCSG方法可解.
@@ -10,11 +8,7 @@ export declare class EdgesGeometry extends BufferGeometry {
/**
* 解决原来算法性能低下并且结果不理想的问题
*/
FromCSG(csg: CSG): this;
PolygonsOutline(polygons: Polygon[], coords: number[]): void;
}
export declare class CLineGeometry extends LineGeometry {
FromCSG(csg: CSG): this;
PolygonsOutline(polygons: Polygon[], coords: number[]): void;
FromCSG(csg: Geom3Res): this;
PolygonsOutline(polygons: PolygonRes[], coords: number[]): void;
}
//# sourceMappingURL=EdgeGeometry.d.ts.map