go-gl/glh — pull request #14 by jteeuwen (2012-10-25 12:48:48+00:00)
Title: MeshBuffer

This implements the `MeshBuffer`, `Mesh` and `MeshDescriptor` types.
This contains some cleanups and fixes compared to the previous PR.

It also adds the `glh.Sizeof` helper function, which is necessary to determine accurate openGL type sizes in bytes. The MeshBuffer uses this to compute accurate buffer offsets.

As per your comment on the previous PR, I'm looking into adding an 'immediate' rendering mode, so data is not buffered.