Update VBO explanation

This commit is contained in:
Abdelrahman Said 2024-09-15 21:56:56 +01:00
parent 16783dc090
commit aa75721e94

View File

@ -31,7 +31,7 @@ struct App {
GLuint vao; GLuint vao;
// The buffer that contains all the vertex data // The buffer that contains all the vertex data
// e.g. assume 3 vertices with position, colour and uv // e.g. assume 3 vertices with position, colour and uv, the buffer would look like this
// ----------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------
// | position1 | colour1 | uv1 | position2 | colour2 | uv2 | position3 | colour3 | uv3 | // | position1 | colour1 | uv1 | position2 | colour2 | uv2 | position3 | colour3 | uv3 |
// ----------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------