#ifndef _LINEBUFFER_HPP_
#define _LINEBUFFER_HPP_

#include "externs.hpp"

class Linebuffer
{
public:

    Linebuffer();
    ~Linebuffer();

    void start();
    void addVertex(Vector3 &vertex);
    void finalize();

    const int getVertexCount() { return this->vertexcount; };
    const Vector3 *getVertexBuffer() { return this->vertices; };

private:
    Lista2 *list;
    Vector3 *vertices;
    int vertexcount;


};

#endif