瀏覽代碼

Remove testing binormals implementation

pull/258/head
victorfisac 7 年之前
父節點
當前提交
4b7ea25603
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/models.c

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

@ -1848,7 +1848,7 @@ static Mesh LoadOBJ(const char *fileName)
{
// Attempt to calculate mesh tangents and binormals using positions and texture coordinates
mesh.tangents = (float *)malloc(mesh.vertexCount*3*sizeof(float));
mesh.binormals = (float *)malloc(mesh.vertexCount*3*sizeof(float));
o">// mesh.binormals = (float *)malloc(mesh.vertexCount*3*sizeof(float));
int vCount = 0;
int uvCount = 0;

Loading…
取消
儲存