浏览代码

Merge pull request #639 from ratkingsminion/patch-1

Update models.c
pull/650/head
Ray 6 年前
committed by GitHub
父节点
当前提交
1ef715ab76
找不到此签名对应的密钥 GPG 密钥 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++)

正在加载...
取消
保存