在平面着色渲染模式下,可用三角形的第三个顶点颜色为整个三角形着色。
In flat-shading mode, you use the color of a triangle's third vertex across the whole triangle.
传统铁三角的三个顶点转变为“敏捷三角形”的一个顶点,被称为约束。
The three vertices of the iron triangle collapse into one vertex of the Agile triangle called constraints.
调用clear清除背景后,即可通过init中创建的顶点数据和三角形绘制对象。
After a call to clear erases the background, you draw the cube by using the vertex data and triangles created in init .
应用推荐