OpenGL cube vertex and indices explained
Understanding the vertex coordinates and corresponding indices slightly complicated.
Sometimes the developer gets carried away due to too many numbers needs to be maintained in the VBO array
This article gives a typical approach to number in counter clockwise and group indices same way
Let us go by step by step
Front face
---------------
3 ---- -----2 | | | | 0 ----------1
From bottom left you can count 0,1,2,3 counter clock wise
Back Face
----------------