2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +00:00

Extended and fixed various GFXWorld linking code

This commit is contained in:
LJW-Dev
2026-02-07 19:33:36 +08:00
committed by Jan Laupetin
parent 663c5cfe28
commit 6be8143c85
3 changed files with 20 additions and 19 deletions
@@ -248,6 +248,7 @@ namespace
if (faceCount > UINT16_MAX)
throw GltfLoadException("Face count exceeded the UINT16_MAX");
surface.vertexCount = vertexCount;
surface.triCount = faceCount;
surface.indexOfFirstIndex = static_cast<int>(m_bsp->gfxWorld.indices.size());
surface.indexOfFirstVertex = static_cast<int>(m_bsp->gfxWorld.vertices.size());