diff options
author | Thomas White <taw@physics.org> | 2009-11-12 18:03:12 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2009-11-12 18:03:12 +0100 |
commit | c9a551b872ae4eb16a606d46a7cf118af24f75f5 (patch) | |
tree | 9c57f03f8acb742186796e0d3a55914b61183c65 /src/utils.h | |
parent | 2008d998a48301aef17c6247b17c4c5b92a87fdc (diff) |
Loads of lattice stuff
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index a60abe7e..f1b72af8 100644 --- a/src/utils.h +++ b/src/utils.h @@ -33,7 +33,10 @@ extern double distance3d(double x1, double y1, double z1, extern size_t skipspace(const char *s); extern void chomp(char *s); extern int sign(double a); - +extern void mapping_rotate(double x, double y, double z, + double *ddx, double *ddy, double *ddz, + double omega, double tilt); + #define rad2deg(a) ((a)*180/M_PI) #define deg2rad(a) ((a)*M_PI/180) |