Fixing according to Leyla feedback

This commit is contained in:
Vladislav Khorev committed 2026-01-15 10:11:46 +03:00
1 parent 3bd3202bf8
commit ed746891b7
3 files changed
+5 -5

No files matched your search

Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -648,7 +648,7 @@ namespace ZL
if (std::abs(diffy) > 5.0f || std::abs(diffx) > 5.0f)
{
float rotationPower = std::sqrt(diffx * diffx + diffy * diffy);
float deltaAlpha = rotationPower * static_cast<float>(delta) * static_cast<float>(M_PI) / 150000.f;
float deltaAlpha = rotationPower * static_cast<float>(delta) * static_cast<float>(M_PI) / 15000.f;
Eigen::Vector3f rotationDirection(diffy, diffx, 0.0f);
rotationDirection.normalize();