aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom White <weiss@jade.(none)>2008-09-29 12:40:01 +0100
committerThomas White <taw27@cam.ac.uk>2008-10-02 17:56:45 +0100
commit43db8bfe56fa2a1f942ad38183eaf6079c20b4a5 (patch)
tree619582f32250db68328db6f6b51b3719ad8de0f6
parent28ddc73c6bf8cb6d25e871b070cd7d93599b5c06 (diff)
Line wrapping and copyright in mapping.c
-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);