aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/OverlapMan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/OverlapMan.c b/generic/OverlapMan.c
index 151799b..cb7eddc 100644
--- a/generic/OverlapMan.c
+++ b/generic/OverlapMan.c
@@ -535,7 +535,7 @@ ReadTracks(int iw)
&info1.rho, &info1.theta,
&info1.visibility,
&trash1,&trash1,&trash1))) {
- info1.alpha = (ProjToAngle(info1.vv_dx, info1.vv_dy ) - M_PI_2 +
+ info1.alpha = (ProjToAngle(info1.vv_dx, info1.vv_dy ) - M_PI_2 -
DegreesToRadian(info1.theta));
info1.dx = (int) info1.rho * cos(info1.alpha);
info1.dy = (int) info1.rho * sin(info1.alpha);
@@ -1081,10 +1081,10 @@ OmProcessOverlap(void *zinc,
}
wr[iw].infos[ip].alpha += wr[iw].infos[ip].alpha_point * DELTA_T ;
- wr[iw].infos[ip].theta = (int) RadianToDegrees360(wr[iw].infos[ip].alpha -
+ wr[iw].infos[ip].theta = (int) RadianToDegrees360(-wr[iw].infos[ip].alpha +
ProjToAngle(wr[iw].infos[ip].vv_dx,
wr[iw].infos[ip].vv_dy)
- + M_PI_2);
+ - M_PI_2);
/*
if (wr[iw].infos[ip].theta > 75 && wr[iw].infos[ip].theta < 105) {