public DebuggableConstraint(Geometry.Manifold m, TwoWayPenFricConstraint.Partial p, TwoWayPenFricConstraint c, bool useContact1, float dt) { this.m = m; this.useContact1 = useContact1; constraint = c; this.dt = dt; this.p = p; }
public void EmitDebuggableConstraint(Geometry.Manifold m, TwoWayPenFricConstraint.Partial p, TwoWayPenFricConstraint c, bool useContact1, float dt) { if (debuggableConstraints != null) { debuggableConstraints.Add(new DebuggableConstraint(m, p, c, useContact1, dt: dt)); } }