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

#include <b2_collision.h>

Public Types

enum  Type { e_vertex = 0, e_face = 1 }
 

Public Attributes

uint8 indexA
 Feature index on shapeA. More...
 
uint8 indexB
 Feature index on shapeB. More...
 
uint8 typeA
 The feature type on shapeA. More...
 
uint8 typeB
 The feature type on shapeB. More...
 

Detailed Description

The features that intersect to form the contact point This must be 4 bytes or less.

Definition at line 44 of file b2_collision.h.

Member Enumeration Documentation

◆ Type

Enumerator
e_vertex 
e_face 

Definition at line 46 of file b2_collision.h.

Member Data Documentation

◆ indexA

uint8 b2ContactFeature::indexA

Feature index on shapeA.

Definition at line 52 of file b2_collision.h.

◆ indexB

uint8 b2ContactFeature::indexB

Feature index on shapeB.

Definition at line 53 of file b2_collision.h.

◆ typeA

uint8 b2ContactFeature::typeA

The feature type on shapeA.

Definition at line 54 of file b2_collision.h.

◆ typeB

uint8 b2ContactFeature::typeB

The feature type on shapeB.

Definition at line 55 of file b2_collision.h.


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


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22