aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mapping.c5
-rw-r--r--src/mapping.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/src/mapping.c b/src/mapping.c
index c9872f9..54a7235 100644
--- a/src/mapping.c
+++ b/src/mapping.c
@@ -3,7 +3,7 @@
*
* 3D Mapping
*
- * (c) 2007 Thomas White <taw27@cam.ac.uk>
+ * (c) 2007-2008 Thomas White <taw27@cam.ac.uk>
*
* dtr - Diffraction Tomography Reconstruction
*
@@ -146,7 +146,8 @@ void mapping_map_features(ControlContext *ctx) {
double nx, ny, nz, twotheta;
- if ( !mapping_map_to_space(&ctx->images->images[i].features->features[j], &nx, &ny, &nz, &twotheta) ) {
+ if ( !mapping_map_to_space(&ctx->images->images[i].features->features[j],
+ &nx, &ny, &nz, &twotheta) ) {
reflection_add(ctx->reflectionlist, nx, ny, nz,
ctx->images->images[i].features->features[j].intensity, REFLECTION_NORMAL);
}
diff --git a/src/mapping.h b/src/mapping.h
index 8b23550..6724499 100644
--- a/src/mapping.h
+++ b/src/mapping.h
@@ -3,7 +3,7 @@
*
* 3D Mapping
*
- * (c) 2007 Thomas White <taw27@cam.ac.uk>
+ * (c) 2007-2008 Thomas White <taw27@cam.ac.uk>
*
* dtr - Diffraction Tomography Reconstruction
*
@@ -19,7 +19,8 @@
#include "reflections.h"
#include "control.h"
-extern void mapping_rotate(double x, double y, double z, double *ddx, double *ddy, double *ddz, double omega, double tilt);
+extern void mapping_rotate(double x, double y, double z, double *ddx, double *ddy, double *ddz,
+ double omega, double tilt);
extern int mapping_map_to_space(ImageFeature *refl, double *ddx, double *ddy, double *ddz, double *twotheta);
extern int mapping_scale(ImageFeature *refl, double *ddx, double *ddy);