diff options
Diffstat (limited to 'pointcloud.cpp')
-rw-r--r-- | pointcloud.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pointcloud.cpp b/pointcloud.cpp index 7c92d16..d762366 100644 --- a/pointcloud.cpp +++ b/pointcloud.cpp @@ -88,8 +88,8 @@ void PointCloud::push_samples(std::pair<std::vector<complexf>, std::vector<compl Point p; // Magnitude is position - p.x = std::abs(rx[i]) * m_rxgain; - p.y = std::abs(tx[i]) * m_txgain; + p.x = std::abs(tx[i]) * m_txgain; + p.y = std::abs(rx[i]) * m_rxgain; p.z = 0.0; double arg_rx = std::arg(rx[i]); |