Ejemplo n.º 1
0
        /// Compute the collision manifold between an edge and a circle.
        public static void CollideEdgeAndPolygon(out Manifold manifold,
                                                 EdgeShape edgeA, Transform xfA,
                                                 PolygonShape polygonB, Transform xfB)
        {
            EPCollider collider = new EPCollider();

            collider.Collide(out manifold, edgeA, xfA, polygonB, xfB);
        }
Ejemplo n.º 2
0
		/// Compute the collision manifold between an edge and a circle.
		public static void CollideEdgeAndPolygon(out Manifold manifold,
									   EdgeShape edgeA, Transform xfA,
									   PolygonShape polygonB, Transform xfB) {
			EPCollider collider = new EPCollider();
			collider.Collide(out manifold, edgeA, xfA, polygonB, xfB);
		}