[core] Get rid of mbgl/util/vec4 - use vec4 from vec.hpp instead
This commit is contained in:
@@ -23,11 +23,13 @@
|
||||
#ifndef MBGL_UTIL_MAT4
|
||||
#define MBGL_UTIL_MAT4
|
||||
|
||||
#include <mbgl/util/vec.hpp>
|
||||
|
||||
#include <array>
|
||||
|
||||
namespace mbgl {
|
||||
|
||||
typedef std::array<double, 16> mat4;
|
||||
using mat4 = std::array<double, 16>;
|
||||
|
||||
namespace matrix {
|
||||
|
||||
@@ -43,7 +45,9 @@ void rotate_z(mat4& out, const mat4& a, double rad);
|
||||
void scale(mat4& out, const mat4& a, double x, double y, double z);
|
||||
void multiply(mat4& out, const mat4& a, const mat4& b);
|
||||
|
||||
void transformMat4(vec4<double>& out, vec4<double>& a, mat4& m);
|
||||
|
||||
} // namespace matrix
|
||||
} // namespace mbgl
|
||||
|
||||
#endif
|
||||
#endif // MBGL_UTIL_MAT4
|
||||
|
||||
@@ -122,4 +122,4 @@ struct vec4 {
|
||||
|
||||
} // namespace mbgl
|
||||
|
||||
#endif
|
||||
#endif // MBGL_UTIL_VEC
|
||||
|
||||
Reference in New Issue
Block a user