1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-22 20:25:28 +08:00

错别字修改.

This commit is contained in:
codersun
2021-06-25 15:24:32 +08:00
parent 08e1e5e3ee
commit fc35d975f3

View File

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