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