Disable moving camera in arcbal if using ortho cam
This commit is contained in:
@@ -108,7 +108,7 @@ namespace OpenVulkano
|
||||
if (GetCamera()->IsOrtho())
|
||||
{
|
||||
HandleMovementOrtho();
|
||||
if (GetCamera()->GetZoom() > 50)
|
||||
/*if (GetCamera()->GetZoom() > 50)
|
||||
{
|
||||
float nDist = std::max<float>(((ZOOM_RANGE - sqrt(GetCamera()->GetZoom())) / ZOOM_RANGE) * m_distance, 0.1f);
|
||||
if (nDist != m_frameDistance)
|
||||
@@ -116,7 +116,7 @@ namespace OpenVulkano
|
||||
m_distUpated = true;
|
||||
m_frameDistance = nDist;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user