diff options
author | Ansis Brammanis <brammanis@gmail.com> | 2015-04-01 19:03:01 -0700 |
---|---|---|
committer | Ansis Brammanis <brammanis@gmail.com> | 2015-04-01 19:03:01 -0700 |
commit | 1d50485e5b824d2608aeba2568f71ff5e4ec217d (patch) | |
tree | 5b53b5a0f12d880c4b33e492ac2bf323d812afcf /src/mbgl/geometry/anchor.hpp | |
parent | c200053951bc3e2b152d38fbf2f2c5e63ed5dddc (diff) | |
download | qtlocation-mapboxgl-1d50485e5b824d2608aeba2568f71ff5e4ec217d.tar.gz |
port bboxifyLabel from -js
Diffstat (limited to 'src/mbgl/geometry/anchor.hpp')
-rw-r--r-- | src/mbgl/geometry/anchor.hpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mbgl/geometry/anchor.hpp b/src/mbgl/geometry/anchor.hpp index 6ebb0e3be6..352f260752 100644 --- a/src/mbgl/geometry/anchor.hpp +++ b/src/mbgl/geometry/anchor.hpp @@ -17,10 +17,6 @@ struct Anchor { explicit Anchor(float x_, float y_, float angle_, float scale_, int segment_) : x(x_), y(y_), angle(angle_), scale(scale_), segment(segment_) {} - template <typename M> - inline Anchor matMul(const M &m) const { - return Anchor{m[0] * x + m[1] * y, m[2] * x + m[3] * y, angle, scale, segment}; - } }; typedef std::vector<Anchor> Anchors; |