为何这两行代码是获取x,y的坐标?
verts[(i * (WIDTH + 1) + j) * 2 + 0] += 0;
verts[(i * (WIDTH + 1) + j) * 2 + 1] =orig[(i * (WIDTH + 1) + j) * 2 + 1] + offsetY * 50;
verts[(i * (WIDTH + 1) + j) * 2 + 0] += 0;
verts[(i * (WIDTH + 1) + j) * 2 + 1] =orig[(i * (WIDTH + 1) + j) * 2 + 1] + offsetY * 50;
2016-03-29
举报