2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-07-02 17:21:53 +00:00

chore: write gltf header with new writers and outputs

This commit is contained in:
Jan
2024-03-30 17:12:48 +01:00
parent c27f4ed544
commit f2438bea12
3 changed files with 72 additions and 0 deletions

View File

@ -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');