summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-10-12 16:17:47 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-10-12 16:17:47 +0200
commit85e3fd19f7ed594395e795f2b9fd0b6b42231a3a (patch)
treef42bda93e00dc300ce3afafced7b8fb1d40417bb /src
parent08df6c4167118e0a3b5f128078f9c13f206a171a (diff)
downloadastra-85e3fd19f7ed594395e795f2b9fd0b6b42231a3a.tar.gz
astra-85e3fd19f7ed594395e795f2b9fd0b6b42231a3a.tar.bz2
astra-85e3fd19f7ed594395e795f2b9fd0b6b42231a3a.tar.xz
astra-85e3fd19f7ed594395e795f2b9fd0b6b42231a3a.zip
Fix geometry computation in unused function
Diffstat (limited to 'src')
-rw-r--r--src/ConeProjectionGeometry3D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ConeProjectionGeometry3D.cpp b/src/ConeProjectionGeometry3D.cpp
index 217a916..e8b95f1 100644
--- a/src/ConeProjectionGeometry3D.cpp
+++ b/src/ConeProjectionGeometry3D.cpp
@@ -225,7 +225,7 @@ CVector3D CConeProjectionGeometry3D::getProjectionDirection(int _iProjectionInde
#undef ROTATE
- CVector3D ret(fDetX - fSrcX, fDetY - fSrcY, fDetZ - fDetZ);
+ CVector3D ret(fDetX - fSrcX, fDetY - fSrcY, fDetZ - fSrcZ);
return ret;
}