Refactored UpdateProjectionMatrix(), SetTargetState() now launches the transition
This commit is contained in:
@@ -56,4 +56,10 @@ namespace OpenVulkano::Scene
|
||||
static_cast<MorphableCamera*>(GetCamera())->SetMorphState(newState);
|
||||
}
|
||||
}
|
||||
|
||||
void MorphableCameraController::SetTargetState(bool toPerspective)
|
||||
{
|
||||
m_targetMorphStatePerspective = toPerspective;
|
||||
m_isMorphing = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user