public static CollidePolyAndEdge ( |
||
manifold | ||
polygon | ||
TransformA | Box2DX.Common.Transform | |
edge | ||
TransformB | Box2DX.Common.Transform | |
Résultat | void |
public static void CollidePolyAndEdge(ref Manifold manifold, PolygonShape polygon, Transform TransformA, EdgeShape edge, Transform TransformB)
{
PolygonShape polygonB = new PolygonShape();
polygonB.SetAsEdge(edge._v1, edge._v2);
CollidePolygons(ref manifold, polygon, TransformA, polygonB, TransformB);
}