Skip to content

Instantly share code, notes, and snippets.

@Alrecenk
Created March 16, 2022 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alrecenk/b693608a93ce9465ae554c62bc6977ff to your computer and use it in GitHub Desktop.
Save Alrecenk/b693608a93ce9465ae554c62bc6977ff to your computer and use it in GitHub Desktop.
std::string header = ...;
Variant glb = Variant::parseJSON(header);
glb["meshes"][glb["nodes"][glb["scenes"][0]["nodes"][0]]["mesh"]].printFormatted();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment