I've gotten the crate working now, but I burned a significant amount of time because I missed the use of VertexAttribDivisor in the example.
I also found the example a little hard to follow as someone who's not super familiar with OpenGL and text processing in general, so the verbosity of a lot of the raw stuff made it hard to understand at first.
This PR isn't anything crazy, but it adds notes here and there to hopefully make it a little easier to understand and specifically marks the VertexAttribDivisor call as important. (the rest of the VAO initialization is more or less what I'm used to, so I missed the one unique line)
Thank you for all your work on this series of crates!
I've gotten the crate working now, but I burned a significant amount of time because I missed the use of
VertexAttribDivisor
in the example.I also found the example a little hard to follow as someone who's not super familiar with OpenGL and text processing in general, so the verbosity of a lot of the raw stuff made it hard to understand at first.
This PR isn't anything crazy, but it adds notes here and there to hopefully make it a little easier to understand and specifically marks the
VertexAttribDivisor
call as important. (the rest of the VAO initialization is more or less what I'm used to, so I missed the one unique line)Thank you for all your work on this series of crates!