VertexArrayObject/SimpleIndexVAOFactory at main · NCCA/VertexArrayObject · GitHub
Skip to content

Latest commit

 

History

History

Folders and files

SimpleIndexVAO

This demo creates a simple Indexed VAO, the data is stored as

Vec3 Vert -> Vec3 Colour in a simple std::array

The index into this for an icosahedron is stored in another std::array

These are both loaded to the VAO using the setData method