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

Make runIndex easier to use #806

Merged
merged 2 commits into from
May 10, 2024
Merged

Make runIndex easier to use #806

merged 2 commits into from
May 10, 2024

Conversation

elalish
Copy link
Owner

@elalish elalish commented May 10, 2024

Follow-up to #805: I found a small annoyance with runIndex - we return it as one element longer than runOriginalID for range convenience, but it's annoying to have to supply two vectors of unequal length. Since the last element should always be the size of the triVerts vector anyway, we now automatically append this if it's missing.

I've also updated our three example to handle the case where Three's draw call groups are not sorted.

@elalish elalish self-assigned this May 10, 2024
@elalish elalish merged commit 887f631 into master May 10, 2024
16 checks passed
@elalish elalish deleted the fixGroupSorting branch May 10, 2024 19:52
@elalish elalish mentioned this pull request Jun 12, 2024
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