reset method

void reset(
  1. Shape shape1,
  2. Shape shape2
)

Reset the manifold.

Implementation

void reset(Shape shape1, Shape shape2){
  body1 = shape1.parent;
  body2 = shape2.parent;
  numPoints = 0;
}