0
我喜歡在頂點從左到右動畫紋理。我怎樣才能做到這一點?Opengl ES滑動紋理動畫
我以前的代碼是:
float texCoords[] = {
iTextcoord, 0.0f,
iTextcoord, 1.0f,
iTextcoord+1.0f, 0.0f,
iTextcoord+1.0f, 1.0f,
};
this.setTextureCoords(texCoords);
但其心不是最好:(