Box2DX.Collision.Collision.CollidePolyAndEdge C# (CSharp) Method

CollidePolyAndEdge() public static method

public static CollidePolyAndEdge ( Manifold &manifold, PolygonShape polygon, Box2DX.Common.Transform TransformA, EdgeShape edge, Box2DX.Common.Transform TransformB ) : void
manifold Manifold
polygon PolygonShape
TransformA Box2DX.Common.Transform
edge EdgeShape
TransformB Box2DX.Common.Transform
return 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);
        }