瀏覽代碼

Merge pull request #639 from ratkingsminion/patch-1

Update models.c
pull/650/head
Ray 6 年之前
committed by GitHub
父節點
當前提交
1ef715ab76
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/models.c

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

@ -717,7 +717,7 @@ Mesh GenMeshPlane(float width, float length, int resX, int resZ)
resZ++;
// Vertices definition
int vertexCount = resX*resZo">*6; // 6 vertex by quad
int vertexCount = resX*resZp">; // vertices get reused for the faces
Vector3 *vertices = (Vector3 *)malloc(vertexCount*sizeof(Vector3));
for (int z = 0; z < resZ; z++)

Loading…
取消
儲存