blob: c144db373dac18c2013903df463d3b39c366affb (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "vertex.h"
#include "gfx/gl/vertexArrayObject.h"
template<>
VertexArrayObject &
VertexArrayObject::addAttribsFor<Vertex>(const GLuint arrayBuffer, const GLuint divisor)
{
return addAttribs<Vertex, &Vertex::pos, &Vertex::texCoord, &Vertex::normal, &Vertex::colour, &Vertex::material>(
arrayBuffer, divisor);
}
|