summaryrefslogtreecommitdiff
path: root/include/llmr/geometry/point_buffer.hpp
blob: 8c01a20ee2bd3462ad0c98833a3a8af1e6e8e887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef LLMR_GEOMETRY_POINT_BUFFER
#define LLMR_GEOMETRY_POINT_BUFFER

#include "buffer.hpp"

namespace llmr {

    class PointVertexBuffer : public Buffer<
    4 // 2 coordinates per vertex (== 4 bytes)
    > {
    public:
        typedef int16_t vertex_type;

        void add(vertex_type x, vertex_type y);
    };

}

#endif