aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorThomas White <taw27@cam.ac.uk>2009-03-31 14:37:05 +0100
committerThomas White <taw27@cam.ac.uk>2009-03-31 14:37:05 +0100
commit4262a193f2eea72dfd1a268a312f2ce5be71a6f1 (patch)
tree7c9aa0e4a12d3110b10fce06a6415b10b13fdde8 /src/utils.h
parent81f877ffde3e67ef7e7b0dd0aa799d7c032ab37d (diff)
Reprojection improvements (previously on simple-search, lost, and now cherry-picked into master)
New line-sphere intersection mathematics (Slightly) more numerically stable quadratic formula Conflicts: src/reproject.c
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index 5c2e586..29ebf01 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -23,6 +23,7 @@ extern unsigned int biggest(signed int a, signed int b);
extern unsigned int smallest(signed int a, signed int b);
extern double distance(double x1, double y1, double x2, double y2);
extern double modulus(double x, double y, double z);
+extern double modulus_squared(double x, double y, double z);
extern double angle_between(double x1, double y1, double z1, double x2, double y2, double z2);
extern double angle_between_d(double x1, double y1, double z1, double x2, double y2, double z2);
extern double lambda(double voltage);