update chapter 04 and 05

This commit is contained in:
Mouse
2019-10-10 23:26:05 +08:00
parent 9036e661e7
commit d96594f1d4
2 changed files with 11 additions and 11 deletions

View File

@@ -132,7 +132,7 @@ public void init() throws Exception {
![海豚](_static/05/dolphin.png)
最后,我们需要更多的内存来储存重复的数据,这就是索引缓冲区(`Index Buffer`大显身手的时候。为了绘制四边形我们只需要以这样的方式指定每个顶点V1, V2, V3, V4。每个顶点在数组中都有一个位置。V1在位置0上V2在位置1上等等
最后我们需要更多的内存来储存重复的数据这就是索引缓冲区Index Buffer大显身手的时候。为了绘制四边形我们只需要以这样的方式指定每个顶点V1, V2, V3, V4。每个顶点在数组中都有一个位置。V1在位置0上V2在位置1上等等
| V1 | V2 | V3 | V4 |
| --- | --- | --- | --- |