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

Documentation for reader::ReadIndices #434

Open
JulianKnodt opened this issue Sep 18, 2024 · 0 comments
Open

Documentation for reader::ReadIndices #434

JulianKnodt opened this issue Sep 18, 2024 · 0 comments

Comments

@JulianKnodt
Copy link

JulianKnodt commented Sep 18, 2024

I think it would be useful to note that the reader::ReadIndices returns a flat set of indices, and parsing those indices into tris or lines should be done by checking the mode. It may also be useful to add a utility which converts the flat iterator into an iterator over arrays of [u32; 3] (altho array chunks does this).

I can also contribute this if you think it's good.

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

1 participant