glTexCoord2f(0,1); glVertex2f(x1,y2); // lower left is 0,0, upper right is 1,1. So if we wanted to use the lower half of the texture, we glTexCoord2f(1,1); ...
確定! 回上一頁