]> git.tdb.fi Git - libs/gl.git/blobdiff - source/vertexarraybuilder.h
Bind textures in the modern way when shaders are used
[libs/gl.git] / source / vertexarraybuilder.h
index 0b8eef860c2b36952a2fc73d058e81de19d6701b..575a47535e9a22ecc5bf5bad91e5343a836790d3 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GL_VERTEXARRAYBUIDER_H_
 #define MSP_GL_VERTEXARRAYBUIDER_H_
 
@@ -19,17 +12,15 @@ class VertexArray;
 
 class VertexArrayBuilder: public VertexBuilder
 {
-public:
-       std::vector<float> &data;
+private:
+       VertexArray &array;
 
+       VertexArrayBuilder(const VertexArrayBuilder &);
+public:
        VertexArrayBuilder(VertexArray &);
-       ~VertexArrayBuilder();
 
 private:
-       VertexArray  &array;
-
-       VertexArrayBuilder(const VertexArrayBuilder &);
-       virtual void vertex_(float, float, float, float);
+       virtual void vertex_(const Vector4 &);
 };
 
 } // namespace GL