Skip to content

five-on-it / apps/client/src/ui/map-labels / boxesOverlap

Function: boxesOverlap() ​

boxesOverlap(a, b): boolean

Defined in: apps/client/src/ui/map-labels.ts:141

Whether two turned boxes overlap (the separating axes of both).

Parameters ​

a ​

Box

b ​

Box

Returns ​

boolean