优化碰撞算法

This commit is contained in:
yhh
2020-12-03 20:43:59 +08:00
parent dac0ef1507
commit 8ce6b53cd5
7 changed files with 83 additions and 69 deletions

View File

@@ -2722,10 +2722,7 @@ declare module es {
* @param min
* @param max
*/
static getInterval(axis: Vector2, polygon: Polygon, min: number, max: number): {
min: number;
max: number;
};
static getInterval(axis: Vector2, polygon: Polygon, min: Ref<number>, max: Ref<number>): void;
/**
*
* @param circle