diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-19 22:56:54 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-19 22:56:54 +0100 |
commit | 3d06561d3fc5938cab28eaa69b50aaa774193b93 (patch) | |
tree | 565f9dfc52fa25d3a20160a50bbca77f4c9b9950 /src/common.hpp | |
parent | 9628c2c097b10f22aafd4890ab8e98375b5740da (diff) |
Fix camera center not being iniitialized.
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.hpp b/src/common.hpp index 656a370..7221b44 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -266,7 +266,7 @@ namespace interface { float em; struct { - v2f_t center; + v2f_t center = v2f_t(0, 0); int target_zoom = 3; float zoom = 3.0f; bool panning = false; |