Box2D: b2SimplexCache Struct Reference

# b2SimplexCache Struct Reference

`#include <b2Distance.h>`

List of all members.

## Public Attributes

float32 | metric
| length or area
uint16 | count
uint8 | indexA [3]
| vertices on shape A
uint8 | indexB [3]
| vertices on shape B

## Detailed Description

Used to warm start b2Distance. Set count to zero on first call.

## Member Data Documentation

uint16 b2SimplexCache::count

uint8 b2SimplexCache::indexA[3]

vertices on shape A

uint8 b2SimplexCache::indexB[3]

vertices on shape B

float32 b2SimplexCache::metric

length or area

The documentation for this struct was generated from the following file:

- Box2D/Box2D/Collision/b2Distance.h