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

ResourceSimpleList/SimpleList: write correct capacity value #13

Open
carmineos opened this issue Dec 27, 2020 · 0 comments
Open

ResourceSimpleList/SimpleList: write correct capacity value #13

carmineos opened this issue Dec 27, 2020 · 0 comments

Comments

@carmineos
Copy link
Owner

Seems that blocks SimpleList64<T> always have the Capacity field set to 1 when the array is empty.
ResourceSimpleList32_64<T> instead seems to always have an array of Capacity > Count (not exactly equals), infact BVHNodes array has some nodes left to read although they seem to be all zeroes except for a field set at 1 (defualt init of a value type?), should we read (and write back) them too?

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