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

Disabled unnecessary assertions #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

awkrupka
Copy link

Most index remapping functions from indexgenerator.cpp operate on bitwise equality of vertices and perform remap index-by-index without assumptions about mesh primitives. Since we were using these functions for optimizing line-primitive meshes for the STEP file importer I have removed index_count % 3 ==0 assertions for relevant remapping functions (ones without assumption about buffer topology, so functions like meshopt_generateAdjacencyIndexBuffer still have that assertion) which makes them automatically work for removing duplicate geometry for other mesh topologies.

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.

1 participant