We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e205b3e commit 59256bfCopy full SHA for 59256bf
src/core/generic/dft.hpp
@@ -174,7 +174,8 @@ class DftStylus {
174
xt *= m_config.width / m_config.dft_tilt_distance;
175
yt *= m_config.height / m_config.dft_tilt_distance;
176
177
- const f64 azm = std::fmod(std::atan2(-yt, xt) + (2 * M_PI), 2 * M_PI);
+ const f64 azm =
178
+ std::fmod(std::atan2(-yt, xt) + (2 * M_PI), 2 * M_PI);
179
const f64 alt = std::asin(std::min(1.0, std::hypot(xt, yt)));
180
181
m_stylus.azimuth = azm;
0 commit comments