aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-06-24 23:15:12 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:30 +0100
commit630282801f347c23de7edcf0a0ba639032bb845c (patch)
tree02cda45ec16ff9dc13930c51f600810ec1fe142b /src/post-refinement.c
parent27c0e190cc10fc2856e078dcb6710c29bdd15176 (diff)
Mark a great big FIXME
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r--src/post-refinement.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index d66458b6..10c24e0c 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -94,6 +94,7 @@ double gradient(struct image *image, int k, Reflection *refl, double r)
zl = hs*asz + ks*bsz + ls*csz;
ds = 2.0 * resolution(image->indexed_cell, hs, ks, ls);
+ /* FIXME: Should use k value corresponding to clamp status here */
tt = angle_between(0.0, 0.0, 1.0, xl, yl, zl+1.0/image->lambda);
azix = angle_between(1.0, 0.0, 0.0, xl, yl, 0.0);
aziy = angle_between(0.0, 1.0, 0.0, xl, yl, 0.0);