From 44b43fe5a608ef0d2f83b2c99ec5b87c6e00f6e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Tue, 7 Jan 2014 12:10:14 +0100 Subject: glfw version of sample app --- include/llmr/map/transform.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 include/llmr/map/transform.hpp (limited to 'include/llmr/map/transform.hpp') 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 -- cgit v1.2.1