revert out-commented collider param in ConvexMeshShape::raycast

Signed-off-by: DNKpp <DNKpp2011@gmail.com>
This commit is contained in:
DNKpp 2020-08-25 23:09:18 +02:00
parent 7eaaf6afb6
commit 0bda62ad5b

View File

@ -106,7 +106,7 @@ void ConvexMeshShape::recalculateBounds() {
// Raycast method with feedback information
/// This method implements the technique in the book "Real-time Collision Detection" by
/// Christer Ericson.
bool ConvexMeshShape::raycast(const Ray& ray, RaycastInfo& raycastInfo, Collider* /*collider*/, MemoryAllocator& /*allocator*/) const {
bool ConvexMeshShape::raycast(const Ray& ray, RaycastInfo& raycastInfo, Collider* collider, MemoryAllocator& /*allocator*/) const {
// Ray direction
Vector3 direction = ray.point2 - ray.point1;