glPushMatrix(); glEnableClientState( GL_VERTEX_ARRAY ); glVertexPointer(3, GL_FLOAT, 0, verts); glDrawElements( GL_LINE_STRIP, numIndices, GL_UNSIGNED_INT, indices ); glDisableClientState( GL_VERTEX_ARRAY ); glPopMatrix();

I already packed the verts array, and I'm a bit confused about the indices assignment.

The number of indices is actually equal to (

**number of line strips**), or to the (

**number of line strips**

*****

**number of line segments**) ?