Public Types | Public Attributes | List of all members
b2Manifold Struct Reference

#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
 

Detailed Description

A manifold for two touching convex shapes. Box2D supports multiple types of contact:

Definition at line 93 of file b2Collision.h.

Member Enumeration Documentation

Enumerator
e_circles 
e_faceA 
e_faceB 

Definition at line 95 of file b2Collision.h.

Member Data Documentation

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.

the points of contact

Definition at line 102 of file b2Collision.h.

Type b2Manifold::type

Definition at line 105 of file b2Collision.h.


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


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:52