dimforge / parry

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

cast_ray panics when intersecting zero sized AABB #66

Open FredrikNoren opened 2 years ago

FredrikNoren commented 2 years ago

When trying to ray cast with AABB with min and max=0. Gives the following error:

thread 'main' panicked at 'Matrix index out of bounds.', /Users/fredrik/.cargo/registry/src/github.com-1ecc6299db9ec823/parry3d-0.7.1/src/query/clip/clip_aabb_line.rs:141:13

hakolao commented 8 months ago

Got this as well