summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/primitives.hpp
blob: fe6b1b2e5b0dcc3f5d547c934fc1c6d4634c7b8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

namespace mbgl {
namespace gl {

class Point {
public:
    static constexpr std::size_t vertexCount = 1;
};

class Line {
public:
    static constexpr std::size_t vertexCount = 2;
};

class Triangle {
public:
    static constexpr std::size_t vertexCount = 3;
};

} // namespace gl
} // namespace mbgl