summaryrefslogtreecommitdiff
path: root/include/llmr/map/transform.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/llmr/map/transform.hpp')
-rw-r--r--include/llmr/map/transform.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llmr/map/transform.hpp b/include/llmr/map/transform.hpp
index 43a1e655e3..39b533c6b8 100644
--- a/include/llmr/map/transform.hpp
+++ b/include/llmr/map/transform.hpp
@@ -3,6 +3,7 @@
#include <llmr/util/vec.hpp>
+#include <llmr/util/mat4.hpp>
#include <llmr/util/animation.hpp>
#include <cmath>
@@ -39,7 +40,7 @@ public:
void setLonLat(double lon, double lat);
// Getters
- void matrixFor(float matrix[16], const vec3<int32_t>& id) const;
+ void matrixFor(mat4& matrix, const vec3<int32_t>& id) const;
float getZoom() const;
int32_t getIntegerZoom() const;
double getScale() const;