1.6 KiB
1.6 KiB
Planck.js API Doc › Globals › internal › Distance
Namespace: Distance
Callable
▸ Distance(output: Input, cache: Cache, input: Input): void
Defined in index.d.ts:676
Parameters:
| Name | Type |
|---|---|
output |
Input |
cache |
Cache |
input |
Input |
Returns: void
Index
Classes
Functions
Functions
testOverlap
▸ testOverlap(shapeA: Shape, indexA: number, shapeB: Shape, indexB: number, xfA: Transform, xfB: Transform): boolean
Defined in index.d.ts:697
Parameters:
| Name | Type |
|---|---|
shapeA |
Shape |
indexA |
number |
shapeB |
Shape |
indexB |
number |
xfA |
Transform |
xfB |
Transform |
Returns: boolean