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

[jak2] Fix collision renderer extract #3081

Merged
merged 1 commit into from
Oct 11, 2023
Merged

Conversation

water111
Copy link
Collaborator

Fixes missing collision geometry reported in #3011

The issue happens when there are 256 polygons. In this case num-polys is 0 (it's a u8). There are actual cases where there are 0 polygons, so we have to do a more complicated check to get the real count. I should have done this in the first place, but it seemed to work...

@water111 water111 linked an issue Oct 11, 2023 that may be closed by this pull request
@water111 water111 merged commit 97e04a7 into master Oct 11, 2023
@water111 water111 deleted the w/fix-jak2-collide-extract branch October 11, 2023 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[jak2] collision renderer missing collision fragments in some levels
2 participants