浏览代码

Update rmodels.c

pull/3861/head
Ray 1年前
父节点
当前提交
30604080ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rmodels.c

+ 1
- 1
src/rmodels.c 查看文件

@ -5666,7 +5666,7 @@ static Model LoadVOX(const char *fileName)
// Copy indices
size = voxarray.indices.used*sizeof(unsigned short);
pmesh->indices = (float *)RL_MALLOC(size);
pmesh->indices = (unsigned short *)RL_MALLOC(size);
memcpy(pmesh->indices, pindices, size);
pmesh->triangleCount = (pmesh->vertexCount/4)*2;

正在加载...
取消
保存