- void color(float r, float g, float b, float a) { cr=r; cg=g; cb=b; ca=a; }
+ void color(float r, float g, float b, float a) { cr = r; cg = g; cb = b; ca = a; }
+ void attrib(unsigned i, float x) { attrib(i, x, 0, 0, 1); }
+ void attrib(unsigned i, float x, float y) { attrib(i, x, y, 0, 1); }
+ void attrib(unsigned i, float x, float y, float z) { attrib(i, x, y, z, 1); }
+ void attrib(unsigned i, float x, float y, float z, float w);