diff options
author | Thomas White <taw@physics.org> | 2011-05-02 11:43:08 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:25 +0100 |
commit | ec82803eb7acf9514e26a0356074caebeee179a3 (patch) | |
tree | ea0daa26da440964e489ae3304c8889a85195ffa /src/utils.h | |
parent | 5b6014ca61ada5c7daec1c23bf76f1047381f780 (diff) |
Formatting
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h index 9776de8a..e3c78d6c 100644 --- a/src/utils.h +++ b/src/utils.h @@ -119,14 +119,14 @@ static inline double modulus_squared(double x, double y, double z) { } static inline double distance3d(double x1, double y1, double z1, - double x2, double y2, double z2) + double x2, double y2, double z2) { return modulus(x1-x2, y1-y2, z1-z2); } /* Answer in radians */ static inline double angle_between(double x1, double y1, double z1, - double x2, double y2, double z2) + double x2, double y2, double z2) { double mod1 = modulus(x1, y1, z1); double mod2 = modulus(x2, y2, z2); |