开发:更新api

This commit is contained in:
FishOrBear
2022-02-16 11:15:31 +08:00
parent 4388a1f7c8
commit 8477786c73
1180 changed files with 37656 additions and 13243 deletions

11
types/Common/CSGIntersect.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
import { Geom3 } from "@jscad/modeling/src/geometries/types";
import { Vec3 } from "@jscad/modeling/src/maths/vec3";
import { Matrix4 } from "three";
export interface Geom3Res {
polygons: Array<{
vertices: Array<Vec3>;
plane: [number, number, number, number];
}>;
}
export declare function CSGIntersect(csg1: Geom3, csg2: Geom3, csg2tranfrom: Matrix4): Geom3Res;
//# sourceMappingURL=CSGIntersect.d.ts.map