summaryrefslogtreecommitdiff
path: root/engine/include
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-02-04 01:04:03 +0100
committerAki <please@ignore.pl>2023-02-04 01:04:03 +0100
commitfb1d3eda51cd9d89083130cf9932c7bde758756c (patch)
tree6924eaaf8847cd8046e4ff3b37ee7c86380551e8 /engine/include
parentff51d69ede2e6e9393e3a9d349ea645ae65c5bb7 (diff)
downloadkurator-fb1d3eda51cd9d89083130cf9932c7bde758756c.zip
kurator-fb1d3eda51cd9d89083130cf9932c7bde758756c.tar.gz
kurator-fb1d3eda51cd9d89083130cf9932c7bde758756c.tar.bz2
Full grid is now drawn
Diffstat (limited to 'engine/include')
-rw-r--r--engine/include/kurator/engine/Camera.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/include/kurator/engine/Camera.h b/engine/include/kurator/engine/Camera.h
index 2eb192a..d5253df 100644
--- a/engine/include/kurator/engine/Camera.h
+++ b/engine/include/kurator/engine/Camera.h
@@ -15,6 +15,9 @@ struct Camera
double scale = 1.0;
Point to_world(const Point& screen) const;
Point to_screen(const Point& world) const;
+ Point top_left() const;
+ Point center() const;
+ Point bottom_right() const;
};