summaryrefslogtreecommitdiff
path: root/include/llmr/map/transform.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-01-29 15:09:00 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-01-29 15:09:00 +0100
commit1233537713bdba77c3879135d7a1008fc97b5581 (patch)
tree03a31ef6c42639f240c222336bf9ddc0bb7c7fcd /include/llmr/map/transform.hpp
parent29f0214eea44042193340a04be3444edf86a384b (diff)
downloadqtlocation-mapboxgl-1233537713bdba77c3879135d7a1008fc97b5581.tar.gz
float[16] => std::array<float, 16>
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;