five-on-it / apps/client/src/renderer/contact-view / boxGap
Function: boxGap()
boxGap(
a,b):number
Defined in: apps/client/src/renderer/contact-view.ts:28
The gap between two boxes on the ground (m): how far apart they are along the axis that separates them best (the separating-axis test over the four edge normals), negative by how deep they overlap when no axis separates them.
Parameters
a
b
Returns
number