UNPKG

@box2d/debug-draw

Version:

Debug drawing helper for @box2d

14 lines (13 loc) 541 B
"use strict"; // MIT License Object.defineProperty(exports, "__esModule", { value: true }); exports.b2EdgeAndPolygonContact = void 0; const b2_collide_edge_1 = require("../collision/b2_collide_edge"); const b2_contact_1 = require("./b2_contact"); /** @internal */ class b2EdgeAndPolygonContact extends b2_contact_1.b2Contact { Evaluate(manifold, xfA, xfB) { (0, b2_collide_edge_1.b2CollideEdgeAndPolygon)(manifold, this.GetShapeA(), xfA, this.GetShapeB(), xfB); } } exports.b2EdgeAndPolygonContact = b2EdgeAndPolygonContact;