glTF2Importer::ImportNodes therefore must always create a root node, or throw an exception. A GLTF2 file is invalid without a scene, so the importer should throw in that case. For GLTF2 files with a scene without nodes, it should create an empty root node. |
||
---|---|---|
.. | ||
glTF2Asset.h | ||
glTF2Asset.inl | ||
glTF2AssetWriter.h | ||
glTF2AssetWriter.inl | ||
glTF2Exporter.cpp | ||
glTF2Exporter.h | ||
glTF2Importer.cpp | ||
glTF2Importer.h |