inverted method

CollisionData inverted()

Implementation

CollisionData inverted() {
  return CollisionData(
    normal: -normal,
    depth: depth,
    direction: (-normal).toDirection(),
    intersectionPoints: intersectionPoints,
  );
}