dimforge / parry

2D and 3D collision-detection library for Rust.
https://parry.rs
Apache License 2.0
555 stars 96 forks source link

Fix QBVH crash when nodes are empty #41

Closed skairunner closed 3 years ago

skairunner commented 3 years ago

QBVH traversal panics when nodes is empty. I add a check to prevent a panic.

sebcrozet commented 3 years ago

Thanks!