Skip to content

Class: DistanceOutput ​

Output for Distance.

Constructors ​

Constructor ​

new DistanceOutput(): DistanceOutput

Returns ​

DistanceOutput

Properties ​

distance ​

distance: number = 0


iterations ​

iterations: number = 0

iterations number of GJK iterations used


pointA ​

pointA: Vec2Value

closest point on shapeA


pointB ​

pointB: Vec2Value

closest point on shapeB

Methods ​

recycle() ​

recycle(): void

Returns ​

void