Closed dougbinks closed 1 year ago
Thanks for merging!
I do think a context will perhaps be useful in future but the current interface does have user data so if needed this can even be added on top of the current interface. To make chaining callbacks easier an ogt_vox_progress_callback_func ogt_vox_get_progress_callback_func()
would potentially be useful, but I suspect not needed for the majority of use cases.
This PR adds a progress callback with implementation in ogt_vox_write_scene and ogt_vox_read_scene*.
The current implementation works well for my own test cases in Avoyd. The ogt_vox_read_scene implementation could be improved slightly by adding more steps to the post processing after file reading but this did not take sufficient time to be visible in my testing.