diff options
author | Konstantin Käfer <github@kkaefer.com> | 2014-01-07 12:10:14 +0100 |
---|---|---|
committer | Konstantin Käfer <github@kkaefer.com> | 2014-01-07 12:10:14 +0100 |
commit | 44b43fe5a608ef0d2f83b2c99ec5b87c6e00f6e0 (patch) | |
tree | a65c62c85ee579e45ae30fd406a81bb7d9f03a0a /include/llmr/map/transform.hpp | |
download | qtlocation-mapboxgl-44b43fe5a608ef0d2f83b2c99ec5b87c6e00f6e0.tar.gz |
glfw version of sample app
Diffstat (limited to 'include/llmr/map/transform.hpp')
-rw-r--r-- | include/llmr/map/transform.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/llmr/map/transform.hpp b/include/llmr/map/transform.hpp new file mode 100644 index 0000000000..26a6683f20 --- /dev/null +++ b/include/llmr/map/transform.hpp @@ -0,0 +1,22 @@ +#ifndef LLMR_MAP_TRANSFORM +#define LLMR_MAP_TRANSFORM + +namespace llmr { + +class tile; + +class transform { +public: + transform(); + + void moveBy(double dx, double dy); + void scaleBy(double ds, double cx, double cy); + +public: + double x, y; + double scale; +}; + +} + +#endif |