#include <b2Collision.h>
Public Types | |
| enum | Type { e_circles, e_faceA, e_faceB } |
Public Attributes | |
| b2Vec2 | localNormal |
| not use for Type::e_points More... | |
| b2Vec2 | localPoint |
| usage depends on manifold type More... | |
| int32 | pointCount |
| the number of manifold points More... | |
| b2ManifoldPoint | points [b2_maxManifoldPoints] |
| the points of contact More... | |
| Type | type |
A manifold for two touching convex shapes. Box2D supports multiple types of contact:
Definition at line 93 of file b2Collision.h.
| enum b2Manifold::Type |
| Enumerator | |
|---|---|
| e_circles | |
| e_faceA | |
| e_faceB | |
Definition at line 95 of file b2Collision.h.
| b2Vec2 b2Manifold::localNormal |
not use for Type::e_points
Definition at line 103 of file b2Collision.h.
| b2Vec2 b2Manifold::localPoint |
usage depends on manifold type
Definition at line 104 of file b2Collision.h.
| int32 b2Manifold::pointCount |
the number of manifold points
Definition at line 106 of file b2Collision.h.
| b2ManifoldPoint b2Manifold::points[b2_maxManifoldPoints] |
the points of contact
Definition at line 102 of file b2Collision.h.
| Type b2Manifold::type |
Definition at line 105 of file b2Collision.h.