Functions
intersect
- intersect(x1: number, y1: number, width1: number, height1: number, x2: number, y2: number, width2: number, height2: number): boolean
-
Parameters
-
x1: number
-
y1: number
-
width1: number
-
height1: number
-
x2: number
-
y2: number
-
width2: number
-
height2: number
Returns boolean
intersectAreas
-
Parameters
Returns boolean
within
- within(t1x: number, t1y: number, t2x: number, t2y: number, distance?: number): boolean
-
Parameters
-
t1x: number
-
t1y: number
-
t2x: number
-
t2y: number
-
Optional distance: number
Returns boolean
withinAreas
-
Parameters
-
-
-
Optional distance: number
Returns boolean
オブジェクトの衝突を表す。