dimforge / parry

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

Implement Debug for TriMesh #177

Open alice-i-cecile opened 5 months ago

alice-i-cecile commented 5 months ago

This would be useful to quickly validate if a TriMesh looks as expected (and to allow derives on types containing trimeshes).

The naive derived Debug impl is obviously unhelpful. Instead, perhaps report:

whatf0xx commented 4 months ago

Hi! I was actually looking at something like this recently and unsure of what a useful Debug implementation would look like for TriMesh. I will try and take a look at this with the information you suggested and get back to you. :)