Graphics/OBJLoader: Allow users to specifiy a vertex count cache when loading

Former-commit-id: 87ebc2aefe2c2091fd483793f880724e1ed6ac3d
This commit is contained in:
Lynix
2016-03-08 13:39:08 +01:00
parent dce587bd63
commit c935c1a293
3 changed files with 11 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ namespace Nz
const Vector3f* GetTexCoords() const;
unsigned int GetTexCoordCount() const;
bool Parse();
bool Parse(std::size_t reservedVertexCount = 100);
private:
bool Advance(bool required = true);