UNPKG

@box2d/debug-draw

Version:

Debug drawing helper for @box2d

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