Functions
b2_collide_polygon.cpp File Reference
#include "box2d/b2_collision.h"
#include "box2d/b2_polygon_shape.h"
Include dependency graph for b2_collide_polygon.cpp:

Go to the source code of this file.

Functions

void b2CollidePolygons (b2Manifold *manifold, const b2PolygonShape *polyA, const b2Transform &xfA, const b2PolygonShape *polyB, const b2Transform &xfB)
 Compute the collision manifold between two polygons. More...
 
static void b2FindIncidentEdge (b2ClipVertex c[2], const b2PolygonShape *poly1, const b2Transform &xf1, int32 edge1, const b2PolygonShape *poly2, const b2Transform &xf2)
 
static float b2FindMaxSeparation (int32 *edgeIndex, const b2PolygonShape *poly1, const b2Transform &xf1, const b2PolygonShape *poly2, const b2Transform &xf2)
 

Function Documentation

◆ b2CollidePolygons()

void b2CollidePolygons ( b2Manifold manifold,
const b2PolygonShape polyA,
const b2Transform xfA,
const b2PolygonShape polyB,
const b2Transform xfB 
)

Compute the collision manifold between two polygons.

Definition at line 120 of file b2_collide_polygon.cpp.

◆ b2FindIncidentEdge()

static void b2FindIncidentEdge ( b2ClipVertex  c[2],
const b2PolygonShape poly1,
const b2Transform xf1,
int32  edge1,
const b2PolygonShape poly2,
const b2Transform xf2 
)
static

Definition at line 68 of file b2_collide_polygon.cpp.

◆ b2FindMaxSeparation()

static float b2FindMaxSeparation ( int32 edgeIndex,
const b2PolygonShape poly1,
const b2Transform xf1,
const b2PolygonShape poly2,
const b2Transform xf2 
)
static

Definition at line 27 of file b2_collide_polygon.cpp.



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