From 7703c9efc6768d3a25eec4266594ab594cc91d4c Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Fri, 6 Mar 2026 23:21:09 +0100 Subject: calibrated with fake X --- src/profile.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/profile.cpp') 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(i) - img_width / 2; m_pointsMm.at(i) = {x, z}; -- cgit v1.3