chore: write gltf header with new writers and outputs

This commit is contained in:
Jan
2024-05-09 22:12:35 +02:00
parent c27f4ed544
commit f2438bea12
3 changed files with 72 additions and 0 deletions
@@ -8,6 +8,7 @@ namespace gltf
{
constexpr uint32_t GLTF_MAGIC = FileUtils::MakeMagic32('g', 'l', 'T', 'F');
constexpr uint32_t GLTF_VERSION = 2u;
constexpr auto GLTF_VERSION_STRING = "2.0";
constexpr uint32_t CHUNK_MAGIC_JSON = FileUtils::MakeMagic32('J', 'S', 'O', 'N');
constexpr uint32_t CHUNK_MAGIC_BIN = FileUtils::MakeMagic32('B', 'I', 'N', '\x00');