giving the collided Axis for context to callback on collisions

This commit is contained in:
Clément Le Bihan
2021-06-08 00:19:34 +02:00
parent 65af11f3f9
commit 22606ecf68
7 changed files with 70 additions and 43 deletions
+1 -1
View File
@@ -31,6 +31,6 @@ namespace BBM
CollisionSystem &operator=(const CollisionSystem &) = delete;
//! @brief check AABB collision
static bool collide(Vector3f minA, Vector3f maxA, Vector3f minB, Vector3f maxB);
static bool boxesCollide(Vector3f minA, Vector3f maxA, Vector3f minB, Vector3f maxB);
};
}