diff options
author | Johan FitiƩ <jfitie@gmail.com> | 2017-07-27 10:02:23 +0200 |
---|---|---|
committer | Johan FitiƩ <jfitie@gmail.com> | 2017-07-27 10:02:23 +0200 |
commit | 978671358de4f3c9035a50e6a71353add1c5ef8b (patch) | |
tree | b7d74eccc2a60c7aca77f7602b564c7970bdc5b0 | |
parent | 30c09818748b9ed7e58500a41f57b49c97c3fa70 (diff) | |
download | navit-978671358de4f3c9035a50e6a71353add1c5ef8b.tar.gz |
w,h im transform_new
-rw-r--r-- | navit/transform.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/navit/transform.c b/navit/transform.c index eab4783d4..738acc0c8 100644 --- a/navit/transform.c +++ b/navit/transform.c @@ -67,8 +67,7 @@ struct transformation { int scale_shift; int order; int order_base; - int w = 240; // TODO - int h = 320; // TODO + int w,h; }; #ifdef ENABLE_ROLL @@ -182,6 +181,8 @@ transform_new(struct pcoord *center, int scale, int yaw) this_->map_center.x=center->x; this_->map_center.y=center->y; this_->scale=scale/16.0; + this_->w=240; // TODO + this_->h=320; // TODO transform_set_yaw(this_, yaw); return this_; } |