Hi guys,
I'm quite new to opengl es so I'm wondering if it is possible to use the glDrawElements function to draw two separate squares(I actually want to draw more than two, but for learning I will create only two) ?
the vertex array looks like this:
CGFloat array[] =
{ 0.2, 0.4, 0.2, 0.2, 0.4, 0.2, 0.4, 0.4,
0.8, 1.0, 0.8, 0.8, 1.0, 0.8, 1.0, 1.0, };
Thanks a lot for your attention !