ackb2d 0.9
3D Gamestudio Box 2d Wraper

b2Distance.h File Reference

Go to the source code of this file.

Functions

void b2Distance (b2DistanceOutput *output, b2SimplexCache *cache, const b2DistanceInput *input)
 Compute the closest points between two shapes.

Function Documentation

void b2Distance ( b2DistanceOutput output,
b2SimplexCache cache,
const b2DistanceInput input 
)

Compute the closest points between two shapes.

Supports any combination of: b2CircleShape, b2PolygonShape, b2EdgeShape. The simplex cache is input/output. On the first call set b2SimplexCache.count to zero.

 All Data Structures Files Functions Variables Typedefs Defines