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

Added ability to store per triangle user data in mesh shape #1225

Merged
merged 10 commits into from
Aug 23, 2024

Conversation

jrouwe
Copy link
Owner

@jrouwe jrouwe commented Aug 22, 2024

  • Use MeshShapeSettings::mPerTriangleUserData at about 25% memory increase to get per triangle user data through MeshShape::GetTriangleUserData
  • Added Shape::GetLeafShape function to be able to get a leaf shape given a sub shape ID
  • Added example and unit test

@mihe
Copy link
Contributor

mihe commented Aug 22, 2024

I was just about leave that comment. 😅

Copy link

@jrouwe jrouwe merged commit d7f08b8 into master Aug 23, 2024
67 checks passed
@jrouwe jrouwe deleted the feature/per_triangle_user_data branch August 23, 2024 10:45
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

Successfully merging this pull request may close these issues.

2 participants