#include <b2_collision.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 99 of file b2_collision.h.
| enum b2Manifold::Type |
| Enumerator | |
|---|---|
| e_circles | |
| e_faceA | |
| e_faceB | |
Definition at line 101 of file b2_collision.h.
| b2Vec2 b2Manifold::localNormal |
not use for Type::e_points
Definition at line 109 of file b2_collision.h.
| b2Vec2 b2Manifold::localPoint |
usage depends on manifold type
Definition at line 110 of file b2_collision.h.
| int32 b2Manifold::pointCount |
the number of manifold points
Definition at line 112 of file b2_collision.h.
| b2ManifoldPoint b2Manifold::points[b2_maxManifoldPoints] |
the points of contact
Definition at line 108 of file b2_collision.h.
| Type b2Manifold::type |
Definition at line 111 of file b2_collision.h.