Fixing according to Leyla feedback
This commit is contained in:
1 parent
3bd3202bf8
commit
ed746891b7
3 files changed
+5
-5
No files matched your search
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user