Repository navigation
feat(compat): add tinygltf 3.0.1 and 3.1.0 - #892
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
compat.tinygltf(pkgs/c/compat.tinygltf.lua) atsyoyo/tinygltfv3 release versions3.0.1and3.1.0(MIT):c_standard = "c11",sources = { "*/tiny_gltf_v3.c" },include_dirs = { "*" },license_files = { "*/LICENSE" }) covering tinygltf v3's 3-file archive root layout (tiny_gltf_v3.h,tiny_gltf_v3.c,tinygltf_json_c.h).fsfeature (default->fs, definingTINYGLTF3_ENABLE_FS) for stdiotg3_parse_file/tg3_write_to_file, opt-out viadefault-features = false.cflags = { "-D_CRT_SECURE_NO_WARNINGS" }for MSVC CRT deprecation warnings onfopen.linux,macosx, andwindowsbecause no localmcpp-rescredentials are available; CN mirrors can be added later.[indices] compat = { path = "../../.." }) and register them inmcpp.toml:tests/examples/tinygltf(3.1.0default): compile-timeTG3_GLTF21_UNSTABLEcheck, in-memory JSON parse & vertex buffer payload check, GLB write/parse round-trip, stdio file write/parse viafsfeature, andTG3_ERR_INVALID_INDEXvalidation check.tests/examples/tinygltf-v301(3.0.1default): compile-time!TG3_GLTF21_UNSTABLEcheck, in-memory parse, GLB round-trip, and stdio file write/parse.tests/examples/tinygltf-nofs(3.1.0,default-features = false): negative feature check provingtg3_parsesucceeds whiletg3_parse_filewithout custom callbacks fails whenTINYGLTF3_ENABLE_FSis disabled.extensions.autoupdatetrackingsyoyo/tinygltfrelease tagv${version}..agents/docs/2026-11-24-add-tinygltf-plan.md.Local Verification (
mcpp 2026.11.23.1)mcpp xpkg parseacross all descriptors passed (compat.tinygltf:versions linux/macosx/windows 3.0.1, 3.1.0,features 2,parse OK).MCPP_HOMEtests/run_members.sh tinygltf tinygltf-v301 tinygltf-nofspassed under both GCC (gcc@16.2.0) and LLVM (llvm@23.1.6).tests/select_members.py --base upstream/main pkgs/c/compat.tinygltf.luaselectedtinygltf tinygltf-v301 tinygltf-nofs.xpkgindex_updateunit tests (26 + 4 passed),tests/autoupdate/ci.py audit --base upstream/main(111updateable descriptors),inspect, andcheck --package compat:tinygltf(up-to-date,current: "3.1.0") passed.