webcad-ue4-api/types/Common/CSGIntersect.d.ts

11 lines
429 B
TypeScript
Raw Normal View History

2022-02-16 11:15:31 +08:00
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