diff options
Diffstat (limited to 'src/mbgl/gfx/primitives.hpp')
-rw-r--r-- | src/mbgl/gfx/primitives.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mbgl/gfx/primitives.hpp b/src/mbgl/gfx/primitives.hpp new file mode 100644 index 0000000000..f92b1ec525 --- /dev/null +++ b/src/mbgl/gfx/primitives.hpp @@ -0,0 +1,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 |