tweak mouse wheel multiplier

This commit is contained in:
Erwin Coumans 2019-03-08 07:43:50 -08:00
parent 9408e4f2d0
commit 58c638d5ee

View File

@ -251,7 +251,7 @@ struct CommonGraphicsApp
float cameraDistance = camera->getCameraDistance();
if (deltay < 0 || cameraDistance > 1)
{
cameraDistance -= deltay*m_wheelMultiplier * 0.01f;
cameraDistance -= deltay*m_wheelMultiplier;
if (cameraDistance < 1)
cameraDistance = 1;
camera->setCameraDistance(cameraDistance);