]> git.tdb.fi Git - libs/gl.git/blobdiff - source/builders/vertexbuilder.h
Include only tangent in mesh data and calculate binormal on the fly
[libs/gl.git] / source / builders / vertexbuilder.h
index 5c29734607a9775e123ebef26446293cac6f01e3..82827cb4e56bed2cb10c47d7562354f8812771a6 100644 (file)
@@ -89,11 +89,11 @@ 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)); }
+       DEPRECATED void binormal(float, float, float)
+       { }
 
-       void binormal(const Vector3 &b)
-       { attrib(get_attribute_semantic(BINORMAL3), mtx*Vector4(b.x, b.y, b.z, 0)); }
+       DEPRECATED void binormal(const Vector3 &)
+       { }
 
        void texcoord(float s)
        { texcoord(s, 0, 0, 1); }