]> git.tdb.fi Git - libs/gl.git/blobdiff - source/builders/vertexbuilder.h
Some more cleanup of includes and forward declarations
[libs/gl.git] / source / builders / vertexbuilder.h
index 5c29734607a9775e123ebef26446293cac6f01e3..49a20b5cede9fb872506f6b166c6ff84ed541d1f 100644 (file)
@@ -89,12 +89,6 @@ public:
        void tangent(const Vector3 &t)
        { attrib(get_attribute_semantic(TANGENT3), mtx*Vector4(t.x, t.y, t.z, 0)); }
 
-       void binormal(float x, float y, float z)
-       { binormal(Vector3(x, y, z)); }
-
-       void binormal(const Vector3 &b)
-       { attrib(get_attribute_semantic(BINORMAL3), mtx*Vector4(b.x, b.y, b.z, 0)); }
-
        void texcoord(float s)
        { texcoord(s, 0, 0, 1); }
 
@@ -138,7 +132,7 @@ public:
        { color(Color(r, g, b, a)); }
 
        void color(const Color &c)
-       { attrib(get_attribute_semantic(COLOR4_FLOAT), Vector4(c.r, c.g, c.b, c.a)); }
+       { attrib(get_attribute_semantic(COLOR4), Vector4(c.r, c.g, c.b, c.a)); }
 
        void group(int g0)
        { group(g0, 0, 0, 0); }