mirror of
https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git
synced 2025-08-22 20:25:28 +08:00
错别字修改.
This commit is contained in:
@@ -442,7 +442,7 @@ unsigned int indices[] = { // 注意索引从0开始!
|
|||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
你可以看到,当时用索引的时候,我们只定义了4个顶点,而不是6个。下一步我们需要创建索引缓冲对象:
|
你可以看到,当使用索引的时候,我们只定义了4个顶点,而不是6个。下一步我们需要创建索引缓冲对象:
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
unsigned int EBO;
|
unsigned int EBO;
|
||||||
|
Reference in New Issue
Block a user