summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index 3ed11ba..101ecf3 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -86,7 +86,9 @@ Profile::Profile(
continue;
}
- const auto x = (leftMmX * (1 - fract) + rightMmX * fract);
+ // const auto x = (leftMmX * (1 - fract) + rightMmX * fract);
+ // TODO: revert this debug shit
+ const auto x = static_cast<double>(i) - img_width / 2;
m_pointsMm.at(i) = {x, z};