Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
indexcodec: Bump default encoding version to 1
indexcodec 0 is a legacy version that should not be preferred to 1 in any way; applications that worked with glTF contents as well as applications that required superior compression all had to set it to 1 manually. We now bump the default encoding version to 1, which should be decodable by any application that uses meshoptimizer 0.14 (released 3 years ago) or later. For applications that need compatibility of binary data here it should be trivial to revert back to 0. For now we keep explicitly setting the versions for data encoding for gltfpack and JS mesh encoder; it's very unlikely that a newer version of index codec will be introduced, but a newer version of vertex codec is possible, so we'll keep pinning the version for glTF content for now.
- Loading branch information