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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user