ContactConstraint constructor

ContactConstraint(
  1. ContactManifold manifold
)

A constraint used on contacts

manifold The contact manifold of the constraint.

Implementation

ContactConstraint(this.manifold):super(){
  cs.next = ContactPointDataBuffer();
  cs.next!.next = ContactPointDataBuffer();
  cs.next!.next!.next = ContactPointDataBuffer();

  ps = manifold.points;
}