1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 04:35:28 +08:00

Merge pull request #183 from augsun/new-theme

错别字修改.
This commit is contained in:
Gary Wang
2021-10-09 12:44:10 +08:00
committed by GitHub

View File

@@ -442,7 +442,7 @@ unsigned int indices[] = { // 注意索引从0开始!
}; };
``` ```
你可以看到,当用索引的时候我们只定义了4个顶点而不是6个。下一步我们需要创建索引缓冲对象 你可以看到,当使用索引的时候我们只定义了4个顶点而不是6个。下一步我们需要创建索引缓冲对象
```c++ ```c++
unsigned int EBO; unsigned int EBO;