This commit is contained in:
ChenX
2024-09-25 17:40:49 +08:00
parent 20c3f892e7
commit 00b2b3fb90
678 changed files with 0 additions and 11826 deletions

View File

@@ -1,19 +0,0 @@
import { Box2 } from "three";
export interface Vec2 {
x: number;
y: number;
}
/**
* 盒子相交测试,快速判断盒子和直线或者圆是否有相交
*/
export declare class BoxCheckIntersect {
p1: Vec2;
p2: Vec2;
p3: Vec2;
p4: Vec2;
box: Box2;
constructor(box: Box2);
IsIntersectLine(p1: Vec2, p2: Vec2): boolean;
IsIntersectCircle(cen: Vec2, radius: number): boolean;
}
//# sourceMappingURL=CheckIntersect.d.ts.map