Merge pull request #315 from joeld42/obj-loader-fix

Fix for OBJ loading
This commit is contained in:
Ray 2017-07-01 10:23:47 +02:00 committed by GitHub
commit c949b74114

View File

@ -1637,6 +1637,7 @@ static Mesh LoadOBJ(const char *fileName)
// NOTE: faces MUST be defined as TRIANGLES (3 vertex per face)
while (!feof(objFile))
{
dataType = '\0';
fscanf(objFile, "%c", &dataType);
switch (dataType)