ackb2d 0.9
3D Gamestudio Box 2d Wraper
|
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. |
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.