revert out-commented collider param in ConvexMeshShape::raycast
Signed-off-by: DNKpp <DNKpp2011@gmail.com>
This commit is contained in:
parent
7eaaf6afb6
commit
0bda62ad5b
@ -106,7 +106,7 @@ void ConvexMeshShape::recalculateBounds() {
|
|||||||
// Raycast method with feedback information
|
// Raycast method with feedback information
|
||||||
/// This method implements the technique in the book "Real-time Collision Detection" by
|
/// This method implements the technique in the book "Real-time Collision Detection" by
|
||||||
/// Christer Ericson.
|
/// 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
|
// Ray direction
|
||||||
Vector3 direction = ray.point2 - ray.point1;
|
Vector3 direction = ray.point2 - ray.point1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user