summaryrefslogtreecommitdiff
path: root/src/mbgl/gfx/primitives.hpp
blob: f92b1ec5252ba4dfcd27cfb87aceb0a78512c508 (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 gfx {

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 gfx
} // namespace mbgl