X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvertexbuilder.cpp;h=d6759d7e85be93d873f44b3c873b0cc2e4006fda;hb=927a1aa0a3a27e463ec0efc08bd08e7c4e969909;hp=0b1d3f302fc41cff0cbdb8bc76279d09e2201f53;hpb=85facfb688035b5bbc9a3a87d080582fbf34930b;p=libs%2Fgl.git diff --git a/source/vertexbuilder.cpp b/source/vertexbuilder.cpp index 0b1d3f30..d6759d7e 100644 --- a/source/vertexbuilder.cpp +++ b/source/vertexbuilder.cpp @@ -16,5 +16,14 @@ VertexBuilder::VertexBuilder(): nx(0), ny(0), nz(1) { } +void VertexBuilder::attrib(unsigned i, float x, float y, float z, float w) +{ + Attrib &a=av[i]; + a.x=x; + a.y=y; + a.z=z; + a.w=w; +} + } // namespace GL } // namespace Msp