dimforge / parry

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

fix: don’t crash mesh/mesh intersection if some mesh coordinates are small denormal numbers #214

Closed sebcrozet closed 3 months ago

sebcrozet commented 3 months ago

The spade crate has restrictions on how small a denormal number can be when giving it input points. This PR sanitizes the coordinates by flushing small denormal numbers given to spade to 0.