diff options
Diffstat (limited to 'src/reflections.c')
-rw-r--r-- | src/reflections.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflections.c b/src/reflections.c index dde8d84..ab626fa 100644 --- a/src/reflections.c +++ b/src/reflections.c @@ -177,7 +177,7 @@ void reflection_add_from_dp(ControlContext *ctx, double x, double y, ImageRecord nx = x_temp; ny = cos(tilt)*y_temp + sin(tilt)*z_temp; nz = -sin(tilt)*y_temp + cos(tilt)*z_temp; - + /* Finally, reverse the omega rotation to restore the location of the image in 3D space */ x_temp = nx; y_temp = ny; z_temp = nz; nx = x_temp*cos(-omega) + y_temp*sin(-omega); |