Package | Description |
---|---|
org.jbox2d.collision |
Modifier and Type | Method and Description |
---|---|
void |
Collision.collideEdgeAndPolygon(Manifold manifold,
EdgeShape edgeA,
Transform xfA,
PolygonShape polygonB,
Transform xfB) |
void |
Collision.collidePolygonAndCircle(Manifold manifold,
PolygonShape polygon,
Transform xfA,
CircleShape circle,
Transform xfB)
Compute the collision manifold between a polygon and a circle.
|
void |
Collision.collidePolygons(Manifold manifold,
PolygonShape polyA,
Transform xfA,
PolygonShape polyB,
Transform xfB)
Compute the collision manifold between two polygons.
|
float |
Collision.edgeSeparation(PolygonShape poly1,
Transform xf1,
int edge1,
PolygonShape poly2,
Transform xf2)
Find the separation between poly1 and poly2 for a given edge normal on poly1.
|
void |
Collision.findIncidentEdge(Collision.ClipVertex[] c,
PolygonShape poly1,
Transform xf1,
int edge1,
PolygonShape poly2,
Transform xf2) |
void |
Collision.findMaxSeparation(org.jbox2d.collision.Collision.EdgeResults results,
PolygonShape poly1,
Transform xf1,
PolygonShape poly2,
Transform xf2)
Find the max separation between poly1 and poly2 using edge normals from poly1.
|
Copyright © 2017. All Rights Reserved.