]> git.tdb.fi Git - libs/gl.git/blobdiff - source/vertexbuilder.cpp
Style update: add spaces around assignment operators
[libs/gl.git] / source / vertexbuilder.cpp
index 0b1d3f302fc41cff0cbdb8bc76279d09e2201f53..3d3ec79b650b9821d0f0346198a354930e43f9f6 100644 (file)
@@ -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