spnda / fastgltf

A modern C++17 glTF 2.0 library focused on speed, correctness, and usability

Home Page:https://fastgltf.readthedocs.io/v0.7.x/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't use 0 as the default value for fields

DethRaid opened this issue · comments

fastgltf seems to use 0 as the default value for various fields - possibly because you're not setting an explicit default value. This has caused a bunch of issues we I'm trying to create glTF files. I'd like to request that fastgltf only use 0 as a default value when it's what the glTF spec says as the default, and use a different value when appropriate