]> git.tdb.fi Git - libs/gl.git/blobdiff - source/builders/vertexbuilder.h
Move blend state from Sequence::Step to RenderMethod
[libs/gl.git] / source / builders / vertexbuilder.h
index 82827cb4e56bed2cb10c47d7562354f8812771a6..09d9ed602ebdd0ce569527bb194dc129f29ac4ec 100644 (file)
@@ -40,7 +40,7 @@ protected:
 public:
        VertexBuilder() { normal(0, 0, 1); }
 
-       virtual ~VertexBuilder() { }
+       virtual ~VertexBuilder() = default;
 
        void set_matrix(const Matrix &m)
        { mtx = m; }
@@ -89,12 +89,6 @@ public:
        void tangent(const Vector3 &t)
        { attrib(get_attribute_semantic(TANGENT3), mtx*Vector4(t.x, t.y, t.z, 0)); }
 
-       DEPRECATED void binormal(float, float, float)
-       { }
-
-       DEPRECATED void binormal(const Vector3 &)
-       { }
-
        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); }