UNPKG

@box2d/debug-draw

Version:

Debug drawing helper for @box2d

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