maroxe
Joined: 01 Sep 2009 Posts: 18
|
Posted: Wed Sep 02, 2009 4:30 pm Post subject: GumDrawArray and index array |
|
|
Hi,
first eccuse my bad english
I wanna know if the index array must point to a vertex or to ther vertex composants.
I mean, if my vertex tab is like that:
vertex[] = {
{ u, v, color, x, y, z },// vert 0
{ u, v, color, x, y, z },// vert 1
// ....
{ u, v, color, x, y, z }// vert n
}
and my index array:
index[] = {0, 1, 2, 3, ...n}
index[1] will indicate the vertex number 1 or the color in the vertex number1? |
|