diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-01-05 16:50:33 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-01-05 16:50:33 +0000 |
commit | fe1f97c08ccc2402997d200afc97e512607cd466 (patch) | |
tree | 332848632450fa19ecc71a8791f0d6a43ca362d4 /navit/transform.c | |
parent | eee9876574b182251f106ae0271f8e1601345d3f (diff) | |
download | navit-fe1f97c08ccc2402997d200afc97e512607cd466.tar.gz |
Fix:Core:Fixed yaw handling
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1894 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/transform.c')
-rw-r--r-- | navit/transform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/transform.c b/navit/transform.c index 22acc1cfd..44d499e31 100644 --- a/navit/transform.c +++ b/navit/transform.c @@ -66,8 +66,8 @@ transform_setup_matrix(struct transformation *t) { double det; double fac; - double yawc=cos(M_PI*t->yaw/180); - double yaws=sin(M_PI*t->yaw/180); + double yawc=cos(-M_PI*t->yaw/180); + double yaws=sin(-M_PI*t->yaw/180); double pitchc=cos(-M_PI*t->pitch/180); double pitchs=sin(-M_PI*t->pitch/180); #ifdef ENABLE_ROLL |