diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/util/vectors.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/mbgl/util/vectors.hpp b/include/mbgl/util/vectors.hpp new file mode 100644 index 0000000000..90371284d4 --- /dev/null +++ b/include/mbgl/util/vectors.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include <array> + +namespace mbgl { + +using vec2 = std::array<double, 2>; +using vec3 = std::array<double, 3>; +using vec3f = std::array<float, 3>; +using vec3i = std::array<int, 3>; +using vec4 = std::array<double, 4>; + +} // namespace mbgl
\ No newline at end of file |