This commit is contained in:
ChenX
2024-10-29 17:14:43 +08:00
parent 3cdbeeb178
commit dccd6ec73e
2683 changed files with 37067 additions and 201 deletions

10
types/Geometry/FastOffset.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
import { Vector3 } from "three";
/**
* 快速的对点表进行偏移
* @param contour
* @param [offsetDist=1]
* @param [ignoreSpike=true] 忽略尖角优化(如果不忽略,那么尖角将会变钝(有点奇怪))
* @returns 偏移后的点表
*/
export declare function FastOffset(contour: Vector3[], offsetDist?: number, ignoreSpike?: boolean): Vector3[];
//# sourceMappingURL=FastOffset.d.ts.map