Browse Source

GL: fix outdated docs.

The snippet has just two attributes now.
pull/240/merge
Vladimír Vondruš 4 years ago
parent
commit
b86f74a7e7
  1. 4
      src/Magnum/GL/Mesh.h

4
src/Magnum/GL/Mesh.h

@ -813,8 +813,8 @@ class MAGNUM_GL_EXPORT Mesh: public AbstractObject {
* If specifying more than one attribute, the function assumes that * If specifying more than one attribute, the function assumes that
* the array is interleaved. Adding non-interleaved vertex buffer can * the array is interleaved. Adding non-interleaved vertex buffer can
* be done by specifying one attribute at a time with specific offset. * be done by specifying one attribute at a time with specific offset.
* Above example with weight, position, texture coordinate and normal * Above example with the position and normal arrays one after another
* arrays one after another (non-interleaved): * (non-interleaved):
* *
* @snippet MagnumGL.cpp Mesh-addVertexBuffer3 * @snippet MagnumGL.cpp Mesh-addVertexBuffer3
* *

Loading…
Cancel
Save