detectCollision method

void detectCollision(
  1. Shape shape1,
  2. Shape shape2,
  3. ContactManifold manifold
)

Detect collision of the shapes provided

Implementation

void detectCollision(Shape shape1,Shape shape2, ContactManifold manifold) {
  printError("CollisionDetector", "Inheritance error.");
}