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

#include <cstddef>

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