The top left corner of any component is represented by x and y values.
任何组件的左上角都由 x 和 y 值表示。
You take the y component, take the derivative with respect to x, take the x component, differentiate with respect to y, you should get the same answer. And that is important to know.
对y分量,关于x求导,对x分量,关于y求导,应该得到相同结果,这个知识点很重要。
The constructor of VertexArray takes the number of vertices (eight), the number of components per vertex (x, y, z), and the size of each component (one byte).
VertexArray构造函数中保存了顶点数量(8个)、各顶点的组件数(x, y, z)以及各组件的大小(1字节)。
应用推荐