triangles strips optimizing

Hi People!
I am using GL_TRIANGLE_STRIPS primitives, so if I send the vertexs:
1 2 2 2 2 3
What will be the result? the triangle 1 2 3?

Thanks in advance
F.

No, you will essentially get 2 lines. With that strip, it breaks down into triangles like so…

(Parenthesis show which of your vertices are used for the triangle)

1,2,2 -> (1 2 2) 2 2 3

2,2,2 -> 1 (2 2 2) 2 3

2,2,2 -> 1 2 (2 2 2) 3

2,2,3 -> 1 2 2 (2 2 3)