Added an attempt at a basic vertex array, which unlike the old is set up in such a way as to allow interleaving. There are those mobile targets to think of.
Made the bound buffers map a class variable rather than a C-style global. Considered whether I need to remove this from the map upon deconstruction, but probably not? It just needs to be a rule that everyone has to bind before drawing, I think?
By hook or by crook attempted to make a first use of my new VertexBuffer class (now with appropriate file naming). Something is obviously amiss.
Wait, my addled memory has this all wrong. If I want to interleave then I need one call to bind buffer and separate calls to vertex attrib pointer. So I’ve put the fact that this doesn’t currently work aside…