浏览代码

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

Fix for OBJ loading
pull/329/head
Ray 7 年前
committed by GitHub
父节点
当前提交
c949b74114
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      src/models.c

+ 1
- 0
src/models.c 查看文件

@ -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)

正在加载...
取消
保存