Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Debug for TriMesh #177

Open
alice-i-cecile opened this issue Feb 1, 2024 · 1 comment
Open

Implement Debug for TriMesh #177

alice-i-cecile opened this issue Feb 1, 2024 · 1 comment

Comments

@alice-i-cecile
Copy link

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:

  • The number of triangles
  • The AABB
  • Any flags
  • The topology information, if present
@whatf0xx
Copy link
Contributor

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. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants